/* Container Utama (Banner Bawah) */
#cookie-banner {
    position: fixed;
    bottom: -100%; /* Sembunyi dulu */
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95); /* Warna #1a1a2e transparan */
    backdrop-filter: blur(10px);
    border-top: 1px solid #00ffff;
    color: #e0e0e0;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
    transition: bottom 0.5s ease-in-out;
    font-family: 'Manrope', sans-serif;
}

#cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text h3 {
    margin: 0 0 10px 0;
    color: #00ffff;
    font-size: 1.2rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #00ffff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-accept {
    background: #00ffff;
    color: #000;
}
.btn-accept:hover { background: #fff; }

.btn-reject {
    background: transparent;
    border: 1px solid #ff4444;
    color: #ff4444;
}
.btn-reject:hover { background: #ff4444; color: white; }

.btn-settings {
    background: transparent;
    border: 1px solid #aaa;
    color: #aaa;
}
.btn-settings:hover { border-color: #fff; color: #fff; }

/* MODAL PENGATURAN (Hidden by default) */
#cookie-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a2e;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #00ffff;
    max-width: 500px;
    width: 90%;
    color: #fff;
}

.switch-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.switch-label h4 { margin: 0; color: #fff; }
.switch-label p { margin: 5px 0 0; font-size: 0.8em; color: #aaa; }

/* Toggle Switch CSS */
.switch { position: relative; display: inline-block; width: 50px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: #00ffff; }
input:checked + .slider:before { transform: translateX(26px); }
input:disabled + .slider { background-color: #555; cursor: not-allowed; }

.modal-actions { margin-top: 20px; text-align: right; }