/* MatchChase — Çerez Onay Banner stilleri (KVKK uyumlu) */

#mc-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: #1a1d29;
    color: #f0f1f5;
    border-top: 2px solid #508200;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    animation: mc-consent-slide-up 0.3s ease-out;
}

@keyframes mc-consent-slide-up {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
}

#mc-consent-banner .mc-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

#mc-consent-banner .mc-consent-text {
    flex: 1 1 380px;
    min-width: 0;
}

#mc-consent-banner .mc-consent-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: #88c530;
}

#mc-consent-banner .mc-consent-text p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #cbd0db;
}

#mc-consent-banner .mc-consent-text a {
    color: #88c530;
    text-decoration: underline;
}

#mc-consent-banner .mc-consent-text a:hover {
    color: #a3dd45;
}

#mc-consent-banner .mc-consent-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mc-consent-btn {
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.mc-consent-btn--accept {
    background: #508200;
    color: #ffffff;
    border-color: #508200;
}

.mc-consent-btn--accept:hover {
    background: #6ba500;
    border-color: #6ba500;
}

.mc-consent-btn--reject {
    background: #2c2f3d;
    color: #f0f1f5;
    border-color: #4a4e5f;
}

.mc-consent-btn--reject:hover {
    background: #3a3e4f;
}

.mc-consent-btn--ghost {
    background: transparent;
    color: #cbd0db;
    border-color: #4a4e5f;
}

.mc-consent-btn--ghost:hover {
    background: #2c2f3d;
    color: #f0f1f5;
}

/* ── Ayarlar Modal ─────────────────────────────────────────────── */

#mc-consent-settings {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: mc-consent-fade-in 0.2s ease-out;
}

@keyframes mc-consent-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#mc-consent-settings .mc-consent-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 20, 0.7);
    backdrop-filter: blur(2px);
}

#mc-consent-settings .mc-consent-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    background: #1a1d29;
    color: #f0f1f5;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#mc-consent-settings header {
    padding: 16px 20px;
    border-bottom: 1px solid #2c2f3d;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#mc-consent-settings header h2 {
    margin: 0;
    font-size: 17px;
    color: #88c530;
}

#mc-consent-settings .mc-consent-close {
    background: transparent;
    border: 0;
    color: #cbd0db;
    font-size: 24px;
    line-height: 1;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 4px;
}

#mc-consent-settings .mc-consent-close:hover {
    background: #2c2f3d;
    color: #fff;
}

#mc-consent-settings .mc-consent-body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

#mc-consent-settings .mc-consent-row {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #20232f;
    cursor: pointer;
    transition: background 0.15s;
}

#mc-consent-settings .mc-consent-row:hover {
    background: #262a38;
}

#mc-consent-settings .mc-consent-row--locked {
    opacity: 0.75;
    cursor: not-allowed;
}

#mc-consent-settings .mc-consent-row input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #88c530;
    cursor: pointer;
    flex-shrink: 0;
}

#mc-consent-settings .mc-consent-row--locked input[type="checkbox"] {
    cursor: not-allowed;
}

#mc-consent-settings .mc-consent-row > div {
    flex: 1;
    min-width: 0;
}

#mc-consent-settings .mc-consent-row strong {
    display: block;
    font-size: 14px;
    color: #f0f1f5;
    margin-bottom: 4px;
}

#mc-consent-settings .mc-consent-row p {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.45;
    color: #9aa0b0;
}

#mc-consent-settings footer {
    padding: 12px 20px;
    border-top: 1px solid #2c2f3d;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

body.mc-consent-modal-open {
    overflow: hidden;
}

/* ── Mobile ──────────────────────────────────────────────────────── */

@media (max-width: 720px) {
    /* Banner kompakt — toplam ~110-130 px arası (önceki ~200 px+ idi).
       Stratesi: dikey padding düşür, başlık + metin küçült, butonlar yan yana 3'lü tek sıra. */
    #mc-consent-banner .mc-consent-inner {
        padding: 8px 12px 10px 12px;
        gap: 6px;
        flex-direction: column;
        align-items: stretch;
    }

    #mc-consent-banner .mc-consent-text {
        flex: 1 1 auto;
    }

    #mc-consent-banner .mc-consent-text strong {
        font-size: 12.5px;
        margin-bottom: 2px;
    }

    #mc-consent-banner .mc-consent-text p {
        font-size: 11.5px;
        line-height: 1.35;
    }

    #mc-consent-banner .mc-consent-actions {
        gap: 6px;
        flex-wrap: nowrap;
    }

    #mc-consent-banner .mc-consent-actions .mc-consent-btn {
        flex: 1;
        text-align: center;
        padding: 8px 4px;
        font-size: 12px;
        white-space: nowrap;
    }

    #mc-consent-settings {
        padding: 0;
        align-items: flex-end;
    }

    #mc-consent-settings .mc-consent-panel {
        max-height: 85vh;
        border-radius: 16px 16px 0 0;
    }
}
