/* --- Cookie Consent Banner --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e50; /* Dark blue-gray background */
    color: #ecf0f1; /* Light gray text */
    padding: 20px 30px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    gap: 20px;
    align-items: center;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    font-size: 1rem;
    box-sizing: border-box; /* Include padding in the element's total width */
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-text {
    margin: 0;
    flex-grow: 1; /* Allow text to take available space */
    padding-right: 20px;
}

.cookie-consent-text a {
    color: #3498db; /* Bright blue for link */
    text-decoration: underline;
    transition: color 0.2s;
}

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

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    white-space: nowrap;
    flex-shrink: 0; /* Prevent buttons from shrinking */
}

.cookie-consent-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s, color 0.2s, transform 0.1s;
}

.cookie-consent-btn:active {
    transform: scale(0.97);
}

#cookie-accept-btn {
    background-color: #27ae60; /* Green */
    color: white;
}

#cookie-accept-btn:hover {
    background-color: #2ecc71;
}

#cookie-decline-btn {
    background-color: #c0392b; /* Red */
    color: white;
}

#cookie-decline-btn:hover {
    background-color: #e74c3c;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    #cookie-consent-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cookie-consent-text {
        margin-bottom: 15px;
        padding-right: 0;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
} 