/* GDPR Cookie Consent Banner Styles - Luxury Edition */

.cookie-consent-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    z-index: 100;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 30px 20px;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    border: 1px solid rgba(232, 180, 184, 0.2);
}

.cookie-consent-header {
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.08), rgba(232, 180, 184, 0.03));
    padding: 30px 40px 25px 40px;
    border-bottom: 1px solid rgba(232, 180, 184, 0.15);
}

.cookie-consent-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #e8b4b8;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-family: 'Playfair Display', serif;
}

.cookie-consent-body {
    padding: 30px 40px;
    color: #fff;
}

.cookie-consent-body > p {
    margin: 0 0 25px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

.cookie-options {
    display: grid;
    gap: 12px;
    margin-bottom: 25px;
}

.cookie-category {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(232, 180, 184, 0.12);
    transition: all 0.3s ease;
}

.cookie-category:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(232, 180, 184, 0.25);
    transform: translateX(2px);
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
}

.cookie-category-header strong {
    font-size: 0.95rem;
    color: #e8b4b8;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cookie-description {
    margin: 0 0 0 66px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    font-weight: 300;
}

/* Custom Toggle Switch - Rose Gold */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.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: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 26px;
    border: 1px solid rgba(232, 180, 184, 0.2);
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background: linear-gradient(135deg, #e8b4b8, #f7cac9);
    border-color: #e8b4b8;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
    background-color: #fff;
}

.cookie-switch input:disabled + .cookie-slider {
    cursor: not-allowed;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.4), rgba(247, 202, 201, 0.4));
    border-color: rgba(232, 180, 184, 0.4);
}

/* Cookie Links */
.cookie-links {
    display: flex;
    gap: 25px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(232, 180, 184, 0.15);
}

.cookie-links a {
    color: #e8b4b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.cookie-links a:hover {
    color: #fff;
    transform: translateX(2px);
}

/* Footer Buttons */
.cookie-consent-footer {
    padding: 25px 40px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    border-top: 1px solid rgba(232, 180, 184, 0.1);
}

.cookie-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: 'Montserrat', sans-serif;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #e8b4b8, #f7cac9);
    color: #000;
    box-shadow: 0 4px 15px rgba(232, 180, 184, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(232, 180, 184, 0.5);
    background: linear-gradient(135deg, #f7cac9, #e8b4b8);
}

.cookie-btn-selected {
    background: transparent;
    color: #e8b4b8;
    border: 1px solid #e8b4b8;
}

.cookie-btn-selected:hover {
    background: rgba(232, 180, 184, 0.1);
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Cookie Settings Link (for footer) */
.cookie-settings-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(26, 26, 46, 0.9);
    color: var(--rose-gold-secondary);
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid rgba(232, 180, 160, 0.3);
    transition: all 0.3s ease;
    z-index: 99999;
}

.cookie-settings-link:hover {
    background: rgba(26, 26, 46, 1);
    border-color: var(--rose-gold-secondary);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-overlay {
        padding: 10px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .cookie-consent-container {
        border-radius: 15px;
    }

    .cookie-consent-header {
        padding: 15px 20px;
        position: sticky;
        top: 0;
        background: linear-gradient(135deg, rgba(232, 180, 184, 0.08), rgba(232, 180, 184, 0.03));
        z-index: 1;
    }

    .cookie-consent-header h3 {
        font-size: 1.2rem;
    }

    .cookie-consent-body {
        padding: 20px;
        max-height: none;
    }

    .cookie-description {
        margin-left: 45px;
        font-size: 0.85rem;
    }

    .cookie-consent-footer {
        flex-direction: column;
        padding: 15px 20px;
        position: sticky;
        bottom: 0;
        background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
        z-index: 1;
        border-top: 1px solid rgba(232, 180, 184, 0.15);
    }

    .cookie-btn {
        width: 100%;
        min-width: unset;
    }

    .cookie-links {
        flex-direction: column;
        gap: 10px;
    }

    .cookie-settings-link {
        bottom: 10px;
        left: 10px;
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-overlay {
        max-height: 85vh;
        padding: 5px;
    }
    
    .cookie-consent-header h3 {
        font-size: 1.1rem;
    }

    .cookie-consent-body > p {
        font-size: 0.9rem;
    }

    .cookie-category-header strong {
        font-size: 0.95rem;
    }

    .cookie-switch {
        width: 44px;
        height: 24px;
    }

    .cookie-slider:before {
        height: 16px;
        width: 16px;
    }

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

/* Dark overlay for better focus */
@media (prefers-color-scheme: dark) {
    .cookie-consent-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
}

/* Accessibility */
.cookie-btn:focus,
.cookie-switch input:focus + .cookie-slider {
    outline: 3px solid rgba(232, 180, 160, 0.5);
    outline-offset: 2px;
}

.cookie-links a:focus {
    outline: 2px solid var(--rose-gold-secondary);
    outline-offset: 2px;
}

/* Animation for banner hide */
#cookieConsentBanner {
    transition: opacity 0.3s ease;
}
