/* Consent Banner */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f8f9fa;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.consent-banner.open {
    transform: translateY(0);
}

.consent-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.consent-banner h2 {
    font-size: 0.95rem; /* Reduced by ~30% from 1.1rem */
    margin: 0 0 0.5rem 0;
    color: #212529;
    flex: 1 1 100%;
}

.consent-banner p {
    margin: 0;
    color: #6c757d;
    flex: 1 1 100%;
    font-size: 0.8rem; /* Reduced by ~30% from 0.9rem */
    line-height: 1.5;
}

.consent-banner__actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    flex: 1 1 100%;
    justify-content: flex-end;
}

.consent-banner button {
    padding: 0.4rem 0.8rem; /* Reduced by ~30% */
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #0d6efd;
    background: #0d6efd;
    color: white;
}

.consent-banner button:first-child {
    background: transparent;
    color: #0d6efd;
}

.consent-banner button:hover {
    opacity: 0.9;
}

/* Consent Preferences Modal */
.consent-preferences {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.consent-preferences.show {
    opacity: 1;
    pointer-events: auto;
}

.consent-preferences__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.consent-preferences__content {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.consent-preferences h3 {
    margin-top: 0;
    color: #212529;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.consent-category {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.consent-category:last-child {
    border-bottom: none;
}

.consent-category input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.consent-category label {
    flex: 1;
    cursor: pointer;
    font-weight: 500;
    color: #212529;
}

.consent-preferences__footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.consent-preferences__footer button {
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.consent-preferences__footer button:last-child {
    background: #0d6efd;
    color: white;
    border: 1px solid #0d6efd;
}

.consent-preferences__footer button:first-child {
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.consent-preferences__footer button:hover {
    opacity: 0.9;
}
