/**
 *
 * Copyright (c) 2024 Analog Devices, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
@use '@common/styles/colors';
@use '@common/styles/fonts';
@use '@common/styles/layout';

.container {
	margin: 4px 0;

	p,
	h3 {
		margin: 0;
	}

	&:not(:first-child) {
		border-top: 0.5px solid colors.$default-border;
	}

	.peripheral-title {
		padding: 8px 12px 8px 16px;
		font-weight: bold;
	}

	.signal-pin-pair {
		display: flex;
		justify-content: space-between;
		padding: 5px 16px;
		cursor: pointer;
		border: 1px solid transparent;

		& :first-child {
			font-size: fonts.$font-size-small;
		}

		& :nth-child(2) {
			color: colors.$disabled-foreground;
		}

		&:hover,
		&.active {
			background: colors.$notifications-background;
		}
	}
}
