﻿.cookieConsent-White {
    color: white;
}

#cookieConsent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #603813;
    color: white;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
    animation: slideUp 0.4s ease-out;
    transition: all 0.5s ease;
    max-height: 370px; /* Initial collapsed height */
    overflow: hidden;
    border-top: 6px solid #9d846e;
}
        
#cookieConsent.expanded {
    /* It stays at the bottom, just grows taller */
    max-height: 80vh; 
    overflow-y: auto;
}

#cookieConsent.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-icon {
    font-size: 2rem;
}

.btn-accept {
    background: white;
    color: #000; /* Black text for contrast */
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid white;
}

.btn-accept:hover {
    background: #333;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255,255,255,0.1);
}

/* Added style for the Read More button to look good on black */
.btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.btn-outline-light:hover {
    background-color: #333;
    color: #fff;
}

/***************/

.btn-cookie-action {
    min-width: 140px;
    width: 100%;
    max-width: 250px;
}

@media (max-width: 576px) {
    #cookieConsent {
        max-height: 90vh; /* Allow more height on mobile */
    }

    .btn-cookie-action {
        width: 80%;
        max-width: 280px;
    }

    #cookieConsent .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.btn-close-white {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}