/* Cookie Consent Banner Styling */
.cookie-consent-banner {
    position: fixed;
    bottom: -100px;
    /* Hidden initially */
    left: 0;
    width: 100%;
    background-color: #051229;
    /* Dark Blue from site theme */
    color: #ffffff;
    padding: 20px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Manrope', 'Roboto', sans-serif;
}

.cookie-consent-banner.active {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    gap: 20px;
    flex-wrap: wrap;
    /* Responsive wrap */
}

.cookie-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn.accept {
    background-color: #00d084;
    /* Green accent */
    color: #fff;
}

.cookie-btn.accept:hover {
    background-color: #00b070;
    transform: translateY(-2px);
}

.cookie-btn.reject {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cookie-btn.reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@media (max-width: 991px) {
    .cookie-consent-banner {
        padding: 24px 20px 30px 20px; /* Extra bottom padding for safe area */
        bottom: -100%; /* Ensure it's fully hidden initially */
    }

    .cookie-consent-banner.active {
        bottom: 0;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start; /* Align left for better readability */
        text-align: left;
        gap: 20px;
    }

    .cookie-text {
        margin-bottom: 0;
        font-size: 13px;
        width: 100%;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: flex-start;
        flex-direction: row; /* Keep buttons side-by-side if possible, or stack if very narrow */
        gap: 12px;
    }

    .cookie-btn {
        flex: 1; /* Equal width buttons */
        width: auto;
        padding: 12px 10px;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}