/* ASL Çerez Onayı – banner & modal (ASL renkleri) */
.aslco-banner,
.aslco-overlay {
	--aslco-bg: #0f1f33;
	--aslco-card: #16304d;
	--aslco-line: rgba(255, 255, 255, .14);
	--aslco-text: #e8eef5;
	--aslco-muted: #b3c1d1;
	--aslco-accent: #89d32a;
	--aslco-accent-hover: #9be03f;
	--aslco-dark: #08131f;
	font-family: inherit;
	box-sizing: border-box;
}
.aslco-banner *,
.aslco-overlay * { box-sizing: border-box; }

/* ----- banner ----- */
.aslco-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2147483000;
	display: none;
	background: var(--aslco-bg);
	color: var(--aslco-text);
	border: 1px solid var(--aslco-line);
	border-radius: 16px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
}
.aslco-banner.is-visible { display: block; animation: aslco-up .35s ease-out; }
.aslco-banner__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 24px;
}
.aslco-banner__text {
	margin: 0;
	flex: 1;
	font-size: 14px;
	line-height: 1.55;
	color: var(--aslco-text);
}
.aslco-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ----- buttons ----- */
.aslco-btn {
	appearance: none;
	border: 1.5px solid transparent;
	border-radius: 999px;
	padding: 11px 22px;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, border-color .15s, color .15s;
}
.aslco-btn:focus-visible { outline: 3px solid var(--aslco-accent); outline-offset: 2px; }
.aslco-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.aslco-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.aslco-btn--dark { background: var(--aslco-dark); color: #fff; border-color: var(--aslco-line); }
.aslco-btn--dark:hover { background: #12263f; }
.aslco-btn--primary { background: var(--aslco-accent); color: #0f1f33; }
.aslco-btn--primary:hover { background: var(--aslco-accent-hover); }

.aslco-link { color: var(--aslco-accent) !important; text-decoration: underline !important; }

/* ----- modal ----- */
.aslco-overlay {
	position: fixed;
	inset: 0;
	z-index: 2147483001;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
	background: rgba(4, 12, 22, .6);
}
.aslco-overlay.is-visible { display: flex; }
.aslco-modal {
	position: relative;
	width: 100%;
	max-width: 460px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	background: var(--aslco-bg);
	color: var(--aslco-text);
	border: 1px solid var(--aslco-line);
	border-radius: 18px;
	padding: 26px 24px 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
	animation: aslco-pop .25s ease-out;
}
.aslco-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, .85);
	background: transparent;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}
.aslco-close:hover { background: rgba(255, 255, 255, .08); }
.aslco-modal__title {
	margin: 0 44px 8px 0 !important;
	font-size: 20px !important;
	line-height: 1.3 !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-family: inherit !important;
	color: #fff !important;
}
.aslco-modal__intro,
.aslco-modal__note {
	margin: 0 0 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--aslco-muted);
}
.aslco-modal__note { margin: 4px 0 18px; }

.aslco-cat {
	background: var(--aslco-card);
	border: 1px solid var(--aslco-line);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 12px;
}
.aslco-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.aslco-cat__title { font-weight: 700; font-size: 15px; color: #fff; }
.aslco-cat__desc { margin: 0; font-size: 13px; line-height: 1.55; color: var(--aslco-muted); }
.aslco-badge { font-size: 12px; font-weight: 600; color: var(--aslco-accent); white-space: nowrap; }

/* toggle */
.aslco-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; cursor: pointer; }
.aslco-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.aslco-switch__slider {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: #3b4f66;
	transition: background .2s;
	pointer-events: none;
}
.aslco-switch__slider::before {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #fff;
	transition: transform .2s;
}
.aslco-switch input:checked + .aslco-switch__slider { background: var(--aslco-accent); }
.aslco-switch input:checked + .aslco-switch__slider::before { transform: translateX(20px); }
.aslco-switch input:focus-visible + .aslco-switch__slider { outline: 3px solid var(--aslco-accent); outline-offset: 2px; }

.aslco-modal__actions { display: flex; gap: 8px; }
.aslco-modal__actions .aslco-btn { flex: 1 1 0; min-width: 0; padding: 11px 10px; font-size: 13.5px; }
.aslco-modal__links { margin-top: 14px; font-size: 12.5px; color: var(--aslco-muted); }

html.aslco-lock { overflow: hidden; }

@keyframes aslco-up { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aslco-pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 900px) {
	.aslco-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
	.aslco-banner__actions { flex-wrap: wrap; }
	.aslco-banner__actions .aslco-btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
	.aslco-banner { left: 8px; right: 8px; bottom: 8px; }
	.aslco-modal__actions { flex-direction: column; }
	.aslco-modal__actions .aslco-btn { flex: 0 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.aslco-banner.is-visible, .aslco-modal { animation: none; }
}
