/* v1.59 (docs/38) — çerez tercih bandı. Pazarlama sitesi, kayıt ve ödeme sonucu sayfalarında yüklenir.
   Bağımsız dosya: website.css / site.css / auth.css hangisi yüklü olursa olsun aynı görünür. */

.dcs-consent {
    --dcs-c-bg: #ffffff;
    --dcs-c-text: #1f2328;
    --dcs-c-muted: #57606a;
    --dcs-c-border: #d0d7de;
    --dcs-c-btn-bg: #1f2328;
    --dcs-c-btn-text: #ffffff;
    --dcs-c-link: #b3141b;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2147483000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.dcs-consent[hidden] { display: none; }

[data-theme="dark"] .dcs-consent {
    --dcs-c-bg: #1c2128;
    --dcs-c-text: #e6edf3;
    --dcs-c-muted: #9da7b3;
    --dcs-c-border: #3d444d;
    --dcs-c-btn-bg: #e6edf3;
    --dcs-c-btn-text: #1c2128;
    --dcs-c-link: #ff7b72;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .dcs-consent {
        --dcs-c-bg: #1c2128;
        --dcs-c-text: #e6edf3;
        --dcs-c-muted: #9da7b3;
        --dcs-c-border: #3d444d;
        --dcs-c-btn-bg: #e6edf3;
        --dcs-c-btn-text: #1c2128;
        --dcs-c-link: #ff7b72;
    }
}

.dcs-consent-inner {
    pointer-events: auto;
    width: 100%;
    max-width: 760px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 18px 20px;
    border: 1px solid var(--dcs-c-border);
    border-radius: 12px;
    background: var(--dcs-c-bg);
    color: var(--dcs-c-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    font: 400 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.dcs-consent-title {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 15px;
}

.dcs-consent-text {
    margin: 0 0 14px;
    color: var(--dcs-c-muted);
}

.dcs-consent-text a {
    color: var(--dcs-c-link);
    text-decoration: underline;
}

.dcs-consent-prefs {
    display: grid;
    gap: 10px;
    margin: 0 0 14px;
}

.dcs-consent-prefs[hidden] { display: none; }

.dcs-consent-option {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 12px;
    border: 1px solid var(--dcs-c-border);
    border-radius: 8px;
    cursor: pointer;
}

.dcs-consent-option input { margin-top: 3px; width: 16px; height: 16px; }
.dcs-consent-option span { color: var(--dcs-c-muted); }
.dcs-consent-option strong { color: var(--dcs-c-text); display: block; }

.dcs-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

/* Reddet ve Kabul et aynı görsel ağırlıkta (KVKK: ret, kabul kadar kolay) */
.dcs-consent-btn {
    min-height: 40px;
    padding: 8px 18px;
    border: 1px solid var(--dcs-c-btn-bg);
    border-radius: 8px;
    background: var(--dcs-c-btn-bg);
    color: var(--dcs-c-btn-text);
    font: 600 14px/1.2 inherit;
    font-family: inherit;
    cursor: pointer;
}

.dcs-consent-btn--link {
    background: transparent;
    border-color: transparent;
    color: var(--dcs-c-text);
    text-decoration: underline;
    margin-right: auto;
}

.dcs-consent-btn:focus-visible {
    outline: 2px solid var(--dcs-c-link);
    outline-offset: 2px;
}

.dcs-consent-btn--save { display: none; }
.dcs-consent.is-prefs .dcs-consent-btn--save { display: inline-block; }
.dcs-consent.is-prefs .dcs-consent-btn--link { display: none; }

@media (max-width: 520px) {
    .dcs-consent { left: 8px; right: 8px; bottom: 8px; }
    .dcs-consent-inner { padding: 16px; }
    .dcs-consent-actions { justify-content: stretch; }
    .dcs-consent-btn { flex: 1 1 calc(50% - 4px); }
    .dcs-consent-btn--link { flex-basis: 100%; margin-right: 0; order: 3; }
}
