/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #007bff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-icon {
    color: #007bff;
    font-size: 2rem;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.cookie-policy-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-policy-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-actions .btn {
    white-space: nowrap;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cookie-settings-btn {
    border: 2px solid #6c757d;
    background: transparent;
    color: #6c757d;
}

.cookie-settings-btn:hover {
    background: #6c757d;
    color: #fff;
}

/* Modal Styles */
.cookie-category {
    padding: 15px 0;
}

.cookie-category-title {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.cookie-category-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.form-check-input:disabled {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-actions .btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 15px;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions .btn {
        width: 100%;
        margin-bottom: 8px;
    }
}

/* Animation */
.cookie-consent-banner.fade-in {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent-banner.fade-out {
    animation: fadeOutDown 0.3s ease-in forwards;
}

@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(100%);
    }
}