/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

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

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text h5 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.1rem;
}

.cookie-consent-text p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #adb5bd;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #dee2e6;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-settings-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease-out;
}

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

.cookie-settings-header {
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h4 {
    margin: 0;
    font-size: 1.25rem;
}

.cookie-settings-body {
    padding: 1.5rem;
}

.cookie-category {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 1rem;
    background: #f8f9fa;
}

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

.cookie-category .form-check-label {
    width: 100%;
}

.cookie-category .form-check-label strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #212529;
}

.cookie-category .form-check-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    background: #f8f9fa;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        padding: 1rem;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-consent-text h5 {
        font-size: 1rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.85rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-consent-actions button {
        width: 100%;
    }
    
    .cookie-settings-content {
        max-height: 95vh;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 1rem;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
    }
    
    .cookie-settings-footer button {
        width: 100%;
    }
}

/* Print styles */
@media print {
    .cookie-consent-banner,
    .cookie-settings-modal {
        display: none !important;
    }
}
