﻿/* ============================= */
/* DIŞ KUTU */
/* ============================= */
#cookieConsent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    z-index: 99999;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-family: inherit;
    font-size: inherit;
}

/* ============================= */
/* İÇ KART */
/* ============================= */
.popup-wrap {
    background: #FFFBE6;
    border: 1px solid #f0e68c;
    border-radius: 0;
    box-shadow: none;
}

/* ============================= */
/* HEADER */
/* ============================= */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #FFF3BF;
    font-weight: bold;
    font-size: 0.95rem;
}

/* KAPAT */
.popup-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}

/* ============================= */
/* BODY */
/* ============================= */
.popup-body {
    padding: 10px 14px;
    font-size: 0.88rem;
}

    .popup-body p {
        margin-bottom: 10px;
    }

/* ============================= */
/* BUTON GRUBU */
/* ============================= */
.popup-buttons {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

    .popup-buttons button {
        flex: 1;
        padding: 6px 6px;
        font-size: 0.8rem;
        white-space: nowrap;
        cursor: pointer;
        border-radius: 6px;
        border: none;
        color: #fff;
    }

/* ============================= */
/* BUTON RENKLERİ */
/* ============================= */
#cookieAcceptAll {
    background: #29a745;
}

#cookieRejectAll {
    background: #6c757d;
}

#cookieManage {
    background: #17a2b8;
}

/* ============================= */
/* YÖNETİM ALANI */
/* ============================= */
.manage-area {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid #ddd;
    padding-top: 6px;
}

    .manage-area.open {
        max-height: 200px;
    }

    .manage-area label {
        display: block;
        font-size: 0.82rem;
        margin: 4px 0;
    }

    /* KAYDET BUTONU */
    .manage-area button {
        margin-top: 6px;
        width: 100%;
        padding: 6px;
        font-size: 0.85rem;
        background: #007cff;
        color: #fff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
    }
