/* GDPR Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    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: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
}

.cookie-consent-text p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-consent-buttons .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent-buttons .btn-primary {
    background: #007bff;
    color: #fff;
}

.cookie-consent-buttons .btn-primary:hover {
    background: #0056b3;
}

.cookie-consent-buttons .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.cookie-consent-buttons .btn-secondary:hover {
    background: #545b62;
}

.cookie-consent-buttons .btn-link {
    background: transparent;
    color: #007bff;
    text-decoration: underline;
    padding: 10px 15px;
}

.cookie-consent-buttons .btn-link:hover {
    color: #0056b3;
}

/* Settings Panel */
.cookie-settings-panel {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.cookie-option {
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin: 0;
}

.cookie-option input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-option strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.cookie-option .cookie-desc {
    display: block;
    color: #6c757d;
    font-size: 0.9em;
}

.cookie-settings-buttons {
    margin-top: 20px;
    text-align: right;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
    }

    .cookie-settings-panel {
        margin: 10px;
        padding: 15px;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .cookie-consent-banner {
        background: #2d3748;
        color: #e2e8f0;
    }

    .cookie-consent-text h3 {
        color: #f7fafc;
    }

    .cookie-consent-text p {
        color: #cbd5e0;
    }

    .cookie-settings-panel {
        background: #1a202c;
        border-color: #4a5568;
    }

    .cookie-option {
        background: #2d3748;
        border-color: #4a5568;
    }

    .cookie-option strong {
        color: #f7fafc;
    }

    .cookie-option .cookie-desc {
        color: #a0aec0;
    }
}
