/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 126, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.9;
    max-width: 600px;
}

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-primary {
    background-color: #ff9800;
    color: white;
}

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

.cookie-btn-secondary {
    background-color: #2196f3;
    color: white;
}

.cookie-btn-secondary:hover {
    background-color: #1976d2;
}

.cookie-btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Cookie Customizer */
.cookie-customizer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(33, 150, 243, 0.95);
}

.cookie-customizer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px;
}

.cookie-customizer-content h4 {
    margin: 0 0 20px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.cookie-category {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cookie-category-info h5 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.cookie-category-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.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.3);
    transition: 0.3s;
    border-radius: 24px;
}

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

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

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

input:disabled + .cookie-slider {
    background-color: #4caf50;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-customizer-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-policy-link {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-left: auto;
}

.cookie-policy-link:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        text-align: center;
    }
    
    .cookie-banner-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .cookie-customizer-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .cookie-policy-link {
        margin-left: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .cookie-banner-content {
        padding: 16px;
    }
    
    .cookie-customizer-content {
        padding: 20px 16px;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
}