:root {
    --mo-green: #22a44a;
    --mo-green-hover: #1b8a3e;
    --mo-bg: #ffffff;
    --mo-text: #333333;
    --mo-text-light: #666666;
    --mo-border: #e6e6e6;
    --mo-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Banner Tasarımı - Alt Kısım */
#mc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--mo-bg);
    box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
    padding: 15px 5%;
    z-index: 999 !important;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid var(--mo-border);
}

#mc-banner .mc-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* İkon ve Metin Grubu */
.mc-content-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mc-icon {
    width: 32px;
    height: 32px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2322a44a"><path d="M21.598 11.064a1.006 1.006 0 0 0-.854-.172A11.99 11.99 0 0 0 12 2c-4.11 0-7.77 2.07-9.946 5.228a.999.999 0 0 0 .192 1.348A5.991 5.991 0 0 1 7 18c0 1.15-.323 2.22-.885 3.136a1 1 0 0 0 .863 1.53c.343.016.688.024 1.034.024 6.022 0 11.005-4.444 11.89-10.215a.999.999 0 0 0-.308-.949zM12 20.01c-1.252 0-2.455-.245-3.565-.69a7.99 7.99 0 0 0 .565-3.32 8 8 0 0 0-8-8c0-.362.03-.717.085-1.062A9.992 9.992 0 0 1 12 4.01c5.514 0 10 4.486 10 10s-4.486 10-10 10z"/><circle cx="12" cy="8.5" r="1.5"/><circle cx="16.5" cy="13" r="1.5"/><circle cx="12" cy="17.5" r="1.5"/></svg>');
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.mc-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--mo-text);
    margin-bottom: 2px;
}

.mc-text {
    font-size: 13px;
    color: var(--mo-text-light);
}

.mc-text a {
    color: var(--mo-green);
    text-decoration: underline;
    font-weight: 600;
}

/* Buton Grupları */
.mc-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

#mc-accept, #mc-save {
    background: var(--mo-green) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer;
    font-size: 14px;
}

#mc-manage {
    background: transparent !important;
    color: var(--mo-green) !important;
    border: 1.5px solid var(--mo-green) !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer;
    font-size: 14px;
}

#mc-reject {
    background: #f1f1f1 !important;
    color: #444 !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer;
    font-size: 14px;
}

/* Modal / Tercihleri Yönet Ekranı */
#mc-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
}

#mc-modal {
    background: #fff;
    width: 550px;
    max-width: 90%;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: var(--mo-shadow);
}

.mc-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #999;
}

#mc-modal h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 700;
}

.mc-modal-desc {
    font-size: 13px;
    color: var(--mo-text-light);
    margin-bottom: 25px;
    line-height: 1.5;
}

.mc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid var(--mo-border);
}

.mc-row-info b {
    display: block;
    font-size: 14px;
    color: var(--mo-text);
    margin-bottom: 3px;
}

.mc-row-info span {
    display: block;
    font-size: 12px;
    color: var(--mo-text-light);
    max-width: 350px;
}


/* --- Toggle (Switch) Tasarımı Düzeltme --- */
input[type="checkbox"] {
    position: relative;
    width: 44px;
    height: 22px;
    -webkit-appearance: none; /* Varsayılan tarayıcı stilini tamamen öldürür */
    appearance: none;
    background: #cbd5e1;
    border-radius: 22px !important; /* Tam yuvarlaklık */
    cursor: pointer;
    transition: background 0.3s ease;
    outline: none;
    border: none !important; /* Kenarlık varsa kaldırır */
    margin: 0;
    display: block;
    flex-shrink: 0 !important;
}

input[type="checkbox"]:checked {
    background: var(--mo-green);
}

/* Switch İçindeki Yuvarlak (Knob) */
input[type="checkbox"]::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50% !important;
    top: 2px;
    left: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

input[type="checkbox"]:checked::before {
    transform: translateX(22px);
}

/* --- Kapatma Butonu (Close Button) Kesin Çözüm --- */
button#mc-close.mc-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    width: 32px !important;
    height: 32px !important;
    background-color: #f1f5f9 !important; /* Açık gri arka plan */
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: none !important;
    outline: none !important;
    z-index: 100 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    color: black !important;
}

/* Çarpı İkonu (SVG veya Karakter yerine CSS ile) */
button#mc-close.mc-close::before {
    content: '\00d7' !important; /* Bu özel '×' işaretinin kodudur */
    color: #000000 !important; /* Siyah ikon */
    font-size: 26px !important;
    font-family: Arial, sans-serif !important;
    line-height: 1 !important;
    display: block !important;
    font-weight: 300 !important; /* İkonun kalınlığı (daha zarif durması için) */
}

/* Hover Efekti */
button#mc-close.mc-close:hover {
    background-color: #e2e8f0 !important; /* Üzerine gelince biraz daha koyu gri */
}

/* --- Mobil Uyumluluk Ayarları (Responsive) --- */
@media screen and (max-width: 768px) {
    /* Ana Banner Ayarları */
    #mc-banner {
        padding: 20px 15px !important;
    }

    #mc-banner .mc-wrap {
        flex-direction: column !important; /* İçeriği alt alta diz */
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .mc-content-side {
        flex-direction: column !important; /* İkon ve metni alt alta al */
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .mc-title {
        font-size: 15px !important;
    }

    .mc-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    /* Butonları Alt Alta ve Tam Genişlik Yap */
    .mc-buttons {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }

    #mc-accept, #mc-reject, #mc-manage, #mc-save {
        width: 100% !important; /* Butonlar tüm genişliği kaplasın */
        padding: 12px !important; /* Mobilde dokunmatik kolaylığı için daha geniş */
        text-align: center !important;
        font-size: 14px !important;
    }

    /* Yönet (Modal) Ekranı Ayarları */
    #mc-modal {
        padding: 25px 20px !important;
        width: 95% !important;
        max-height: 90vh !important;
        overflow-y: auto !important; /* Mobilde ekran dışına taşarsa kaydırılabilir olsun */
    }

    .mc-row-info span {
        max-width: 100% !important; /* Metinler kırılmasın */
        font-size: 11px !important;
    }
}


