/**
 *
 * 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 '../../../styles/layout';

.controlContainer {
	max-width: 600px;
	height: fit-content;
	flex: 1;
	padding: 32px;
	border: 1px solid colors.$default-border;
	border-radius: layout.$default-border-radius;

	> *:not(:first-child) {
		margin-top: 22px;
	}

	.title {
		display: flex;
		align-items: center;
		gap: 12px;
		line-height: 21px;
		height: 32px;

		.divider {
			flex-grow: 1;
		}

		.reset {
			color: colors.$active-cta;
			cursor: pointer;
		}

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

		.header {
			font-size: 18px;
			line-height: 21px;
			font-weight: 500;
		}
	}

	.info {
		display: flex;
		justify-content: flex-end;
		gap: 7px;

		& p {
			margin: 0;
		}
	}
}
