/* VIAADUC Cookie Consent Banner Styles - Premium & Elegant */
:root {
    --cookie-primary: #0ea5e9;
    --cookie-secondary: #2A3062;
    --cookie-bg: rgba(255, 255, 255, 0.9);
    --cookie-text: #1e293b;
    --cookie-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: 30px;
    max-width: 550px;
    background: var(--cookie-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--cookie-shadow);
    z-index: 10000;
    font-family: 'Montserrat', sans-serif;
    display: none;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpFade {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.cookie-banner-content {
    position: relative;
}

.cookie-banner-content h4 {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--cookie-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner-content h4::before {
    content: '🍪';
    font-size: 1.4rem;
}

.cookie-banner-content p {
    margin: 0 0 24px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cookie-btn-accept {
    background: var(--cookie-secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(42, 48, 98, 0.2);
}

.cookie-btn-accept:hover {
    background: var(--cookie-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(14, 165, 233, 0.3);
}

.cookie-btn-refuse {
    background: rgba(15, 23, 42, 0.05);
    color: #64748b;
}

.cookie-btn-refuse:hover {
    background: rgba(15, 23, 42, 0.1);
    color: var(--cookie-secondary);
}

.cookie-btn-settings {
    background: transparent;
    color: #64748b;
    font-size: 0.8rem;
    text-decoration: none;
    border-bottom: 1px dashed #cbd5e1;
    border-radius: 0;
    padding: 4px 0;
    margin-left: auto;
}

.cookie-btn-settings:hover {
    color: var(--cookie-primary);
    border-color: var(--cookie-primary);
}

/* Modal - Premium Customization */
.cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal {
    background: white;
    width: 100%;
    max-width: 550px;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    animation: modalIn 0.4s ease-out;
}

@keyframes modalIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.cookie-modal h3 {
    margin: 0 0 10px;
    font-weight: 800;
    color: var(--cookie-secondary);
}

.cookie-modal > p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.cookie-option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cookie-option-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.cookie-option-item:hover {
    border-color: rgba(14, 165, 233, 0.2);
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.cookie-option-info h5 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

.cookie-switch {
    position: relative;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #e2e8f0;
    transition: .4s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 4px; bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked + .cookie-slider {
    background-color: var(--cookie-primary);
}

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

.cookie-modal-actions {
    margin-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 640px) {
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        padding: 24px;
    }
    .cookie-btn {
        flex: 1;
    }
    .cookie-btn-settings {
        width: 100%;
        text-align: center;
    }
}
