/* STLogics cookie banner, preferences dialog and privacy pages */
.stl-consent-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 99999;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px 24px;
	background: #ffffff;
	color: #101010;
	border-top: 4px solid #1B3D51;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	font-size: 15px;
	line-height: 1.5;
}
.stl-consent-banner[hidden],
.stl-consent-modal[hidden],
[data-stl-gpc-note][hidden] { display: none !important; }
.stl-consent-text { flex: 1 1 420px; margin: 0; }
.stl-consent-text strong { display: block; font-size: 17px; margin-bottom: 4px; color: #1B3D51; }
.stl-consent-text a { color: #1B3D51; text-decoration: underline; }
.stl-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stl-btn {
	appearance: none;
	border: 2px solid #1B3D51;
	background: #1B3D51;
	color: #ffffff;
	padding: 10px 18px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
}
.stl-btn:hover, .stl-btn:focus-visible { background: #0f2633; border-color: #0f2633; color: #ffffff; }
.stl-btn-outline { background: #ffffff; color: #1B3D51; }
.stl-btn-outline:hover, .stl-btn-outline:focus-visible { background: #effdfc; color: #1B3D51; }
.stl-btn[disabled] { opacity: 0.6; cursor: default; }
.stl-btn:focus-visible, .stl-switch input:focus-visible + span { outline: 3px solid #f0b429; outline-offset: 2px; }

.stl-consent-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.stl-modal-dialog {
	background: #ffffff;
	color: #101010;
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 8px;
	padding: 28px;
	position: relative;
	font-size: 15px;
	line-height: 1.5;
}
.stl-modal-dialog:focus { outline: none; }
.stl-modal-dialog h2 { font-size: 22px; margin: 0 0 8px; color: #1B3D51; }
.stl-modal-close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #454545;
}
.stl-pref {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid #e5e5e5;
}
.stl-pref h3 { font-size: 16px; margin: 0 0 2px; color: #101010; }
.stl-pref p { margin: 0; font-size: 14px; color: #454545; }
.stl-switch { position: relative; flex: 0 0 auto; width: 46px; height: 26px; margin-top: 2px; }
.stl-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.stl-switch input:disabled { cursor: not-allowed; }
.stl-switch span {
	position: absolute;
	inset: 0;
	background: #c4c4c4;
	border-radius: 26px;
	transition: background 0.2s;
}
.stl-switch span:before {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	left: 3px;
	top: 3px;
	background: #ffffff;
	border-radius: 50%;
	transition: transform 0.2s;
}
.stl-switch input:checked + span { background: #1B3D51; }
.stl-switch input:checked + span:before { transform: translateX(20px); }
.stl-switch input:disabled + span { opacity: 0.55; }
.stl-gpc-note {
	background: #effdfc;
	border-left: 4px solid #1B3D51;
	padding: 10px 12px;
	margin: 12px 0;
	font-size: 14px;
}
.stl-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; justify-content: flex-end; }

/* Footer legal links */
.stl-legal-links { list-style: none; margin: 8px 0 0; padding: 0; text-align: center; }
.stl-legal-links li { display: inline-block; margin: 0 10px; }
.stl-legal-links a { color: #ffffff; font-size: 14px; text-decoration: underline; }
.stl-legal-links a:hover { color: #c9d8e1; }

/* Privacy pages */
.stl-privacy-content { font-size: 16px; line-height: 1.7; color: #454545; }
.stl-privacy-content h2 { font-size: 24px; color: #1B3D51; margin: 36px 0 12px; }
.stl-privacy-content h3 { font-size: 19px; color: #101010; margin: 22px 0 8px; }
.stl-privacy-content ul { padding-left: 22px; margin-bottom: 16px; }
.stl-privacy-content li { list-style: disc; margin-bottom: 6px; }
.stl-privacy-content a { color: #1B3D51; text-decoration: underline; }
.stl-privacy-content table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.stl-privacy-content th, .stl-privacy-content td { border: 1px solid #dcdcdc; padding: 8px 10px; text-align: left; vertical-align: top; }
.stl-privacy-content th { background: #f4f7f9; color: #101010; }
.stl-table-wrap { overflow-x: auto; }
.stl-status { padding: 12px 14px; border-radius: 4px; font-weight: 600; margin: 12px 0; }
.stl-status-on { background: #e6f4ea; color: #1e5631; }
.stl-status-off { background: #fdf3e1; color: #7a4b00; }

@media (max-width: 575px) {
	.stl-consent-banner { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
	.stl-consent-actions, .stl-consent-actions .stl-btn { width: 100%; }
	.stl-modal-dialog { padding: 22px 18px; }
}
