/* Çerez onay bandı. Sayfayı kilitlemez; içerik okunabilir kalır. */

.cc {
    position: fixed;
    inset: auto 0 0 0;
    z-index: var(--z-toast);
    padding: var(--gutter);
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.cc__panel {
    pointer-events: auto;
    width: min(760px, 100%);
    padding: var(--sp-6);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-xl);
    animation: cc-rise var(--dur-slow) var(--ease-out);
}

@keyframes cc-rise {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.cc__title {
    font-size: var(--fs-h4);
    font-weight: var(--fw-semibold);
    color: var(--ink-900);
}

.cc__text {
    margin-top: var(--sp-2);
    max-width: 68ch;
    color: var(--ink-600);
    font-size: var(--fs-sm);
    line-height: 1.6;
}

.cc__text a {
    color: var(--brand-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- ayrıntılı tercihler --- */

.cc__options {
    display: grid;
    gap: var(--sp-3);
    margin-top: var(--sp-5);
    padding-top: var(--sp-5);
    border-top: 1px solid var(--border);
}

.cc__option {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    font-size: var(--fs-sm);
    cursor: pointer;
}

.cc__option input {
    margin-top: 3px;
    flex: none;
    accent-color: var(--brand-700);
}

.cc__option input:disabled { opacity: 0.6; cursor: not-allowed; }

.cc__hint {
    display: block;
    margin-top: 2px;
    color: var(--ink-600);
    font-size: var(--fs-xs);
    line-height: 1.5;
}

/* --- aksiyonlar --- */

.cc__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--sp-3);
    margin-top: var(--sp-6);
}

/* "Tercihleri ayarla" en sağa itilir; iki ana seçenek yan yana eşit durur */
.cc__actions [data-cc-customize] { margin-left: auto; }

@media (max-width: 600px) {
    .cc { padding: var(--sp-3); }
    .cc__panel { padding: var(--sp-5); }
    .cc__actions [data-cc-customize] { margin-left: 0; }
    .cc__actions .btn { flex: 1 1 100%; }
}
