/* CSS styling for GDPR/EU compliant cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #ffffff;
    padding: 24px 0 20px 0;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
    border-top: 1px solid #e2e8f0;
    font-family: inherit;
    color: #2d3748;
}

.cookie-banner-inner {
    max-width: 1140px;
}

.cookie-banner-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 8px;
}

.cookie-banner-text {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4a5568;
}

.cookie-banner-text p {
    margin-bottom: 0.5rem;
}

.cookie-category-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-category-card:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1 !important;
}

.cookie-category-card .form-check-input {
    cursor: pointer;
    width: 1.15em;
    height: 1.15em;
    margin-top: 0.15em;
}

.cookie-category-card .form-check-label {
    cursor: pointer;
    font-size: 0.95rem;
    color: #1e293b;
}

.cookie-actions {
    margin-top: 12px;
}

.cookie-actions .btn {
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.88rem;
    padding: 8px 18px;
    transition: all 0.2s ease-in-out;
}

.cookie-actions #accept-all-button {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #ffffff;
}

.cookie-actions #accept-all-button:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

.cookie-actions #save-choices-button {
    color: #0d6efd;
    border-color: #0d6efd;
    background-color: transparent;
}

.cookie-actions #save-choices-button:hover {
    background-color: #0d6efd;
    color: #ffffff;
}

.cookie-actions #reject-optional-button {
    color: #4b5563;
    border-color: #d1d5db;
    background-color: #ffffff;
}

.cookie-actions #reject-optional-button:hover {
    background-color: #e5e7eb;
    color: #1f2937;
    border-color: #9ca3af;
}

@media (max-width: 767.98px) {
    .cookie-banner {
        padding: 16px 0;
        max-height: 85vh;
        overflow-y: auto;
    }

    .cookie-actions {
        flex-direction: column-reverse;
        align-items: stretch !important;
    }

    .cookie-actions .btn {
        width: 100%;
        text-align: center;
    }
}