/**
 *
 * 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';
@use '@common/styles/layout' as commonLayout;

.container {
	min-width: 136px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	background: colors.$default-background;
	color: colors.$notifications-foreground;
	box-shadow: commonLayout.$default-shadow;
	border: 1px solid colors.$editor-widget-border;
	position: absolute;
	z-index: calc(layout.$focused-pin-backdrop-z-index + 2);
	top: 125%;

	p,
	h3,
	h4 {
		margin: 0;
	}

	h4 {
		font-weight: 700;
	}

	.conflict-container {
		width: 128px;
		height: 16px;
		background: colors.$notifications-background;
		gap: 4px;
		display: flex;
		align-items: center;
	}

	.tooltipSection {
		display: flex;
		flex-direction: column;
		gap: 2px;
	}
}
