/* --- Cookie Consent Banner --- */
#cookie-consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #343a40;
    color: #e9ecef;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 9999;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#cookie-consent-bar.visible {
    transform: translateY(0);
}

#cookie-consent-bar p {
    margin: 0;
}

#cookie-consent-bar a {
    color: #8ab4f8;
    text-decoration: underline;
}

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

.cookie-consent-buttons button {
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

#cookie-accept {
    background-color: #6153cc;
    color: white;
}

#cookie-accept:hover {
    background-color: #4d42a3;
}

#cookie-decline {
    background-color: transparent;
    color: #e9ecef;
    border: 1px solid #6c757d;
}

#cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Stack vertically on narrow screens */
@media (max-width: 500px) {
    #cookie-consent-bar {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
}
