/* ═══════════════════════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════════════════════ */

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-overlay.active .cookie-modal {
    transform: translateY(0);
}

.cookie-modal h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.cookie-modal p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cookie-modal p a {
    color: #f4a261;
    text-decoration: underline;
}

/* Options */
.cookie-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.cookie-info {
    display: flex;
    flex-direction: column;
}

.cookie-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #2d3748;
}

.cookie-desc {
    font-size: 0.8rem;
    color: #718096;
}

/* Switch Styling */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e0;
    transition: .3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #f4a261;
}

input:checked + .cookie-slider:before {
    transform: translateX(20px);
}

input:disabled + .cookie-slider {
    background-color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Buttons */
.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cookie-btn {
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
}

.cookie-btn-primary {
    background: #f4a261;
    color: #fff;
}

.cookie-btn-primary:hover {
    background: #e89450;
}

.cookie-btn-secondary {
    background: #edf2f7;
    color: #2d3748;
}

.cookie-btn-secondary:hover {
    background: #e2e8f0;
}

.cookie-btn-text {
    background: transparent;
    color: #718096;
    font-size: 0.85rem;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .cookie-modal {
        padding: 1.5rem;
    }
}
