/*
 * tq-notify «خيارات التنبيهات» (ACCOUNT-PANEL-V1) at the end of the bell's popup: the theme's popup gives the surface
 * and colours; here only our own section, through theme variables (gate R5), logical properties (gate R9), generous gaps
 * between a switch and its label (Sherif 12/11).
 */
.tq-alerts {
	border-block-start: 1px solid var(--flex-gray-15);
}

.tq-alerts__open {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	inline-size: 100%;
	padding-block: 12px;
	padding-inline: 20px;
	border: 0;
	background: none;
	color: inherit;
	font-family: var(--tq-font-title);
	font-weight: 700;
	cursor: pointer;
}

.tq-alerts__open:focus-visible {
	outline: 2px solid var(--g-color);
	outline-offset: -2px;
}

.tq-alerts__chev {
	inline-size: 16px;
	block-size: 16px;
	transition: transform 0.2s ease;
}

.tq-alerts__open[aria-expanded="true"] .tq-alerts__chev {
	transform: rotate(180deg);
}

.tq-alerts__body {
	padding-block: 0 12px;
	padding-inline: 20px;
}

.tq-alerts__body[hidden],
.tq-alerts__row[hidden] {
	display: none;
}

.tq-alerts__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tq-alerts__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.tq-alerts__in {
	flex: 0 0 auto;
	inline-size: 18px;
	block-size: 18px;
	margin-block-start: 2px;
	accent-color: var(--g-color);
}

.tq-alerts__lbl {
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
}

.tq-alerts__soon {
	display: inline-block;
	margin-inline-start: 6px;
	padding-inline: 8px;
	border-radius: var(--tq-radius-s);
	background: var(--flex-gray-7);
	font-size: 12px;
}

.tq-alerts__msg {
	margin-block: 10px 0;
	font-size: 13px;
}

.tq-alerts__msg:empty {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.tq-alerts__chev {
		transition: none;
	}
}
