/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cookie-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.cookie-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 800px;
}

/* Cookie Settings Panel */
.cookie-settings {
    margin-top: 20px;
    padding: 20px;
    background: var(--cream);
    border-radius: 16px;
}

.cookie-option {
    margin-bottom: 16px;
}

.cookie-option:last-child {
    margin-bottom: 0;
}

/* Toggle Switch */
.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.cookie-toggle input {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 26px;
    background: #ddd;
    border-radius: 26px;
    transition: background 0.3s;
    flex-shrink: 0;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

.cookie-toggle input:disabled + .toggle-slider {
    background: var(--primary);
    opacity: 0.6;
    cursor: not-allowed;
}

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

.cookie-info strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.cookie-info span {
    font-size: 13px;
    color: var(--text-light);
}

/* Buttons */
.cookie-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    transform: translateY(-2px);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--text-light);
    border-color: rgba(0,0,0,0.1);
}

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

.cookie-btn-essential {
    background: var(--cream);
    color: var(--text);
}

.cookie-btn-essential:hover {
    background: #e8e4dd;
}

.cookie-btn-accept {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.cookie-btn-accept:hover {
    background: var(--primary-dark, #1a6b4e);
    border-color: var(--primary-dark, #1a6b4e);
    box-shadow: 0 4px 15px rgba(36, 143, 104, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #cookie-banner {
        padding: 20px;
    }
    
    .cookie-container {
        gap: 16px;
    }
    
    .cookie-content h3 {
        font-size: 18px;
    }
    
    .cookie-content p {
        font-size: 13px;
    }
    
    .cookie-settings {
        padding: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}