/**
 * Toast Cookie Consent Banner Styles
 * 
 * This stylesheet controls the appearance of the cookie consent banner
 * Edit these styles to customise the look of the banner to match your site
 * 
 * @package Toast Cookie Consent
 * @version 1.0.0
 */

/* Main Banner Container */
.toast-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--brand-2);
    color: #ffffff;
    padding: 2rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    opacity: 0;
}

/* Visible state - only shown when JavaScript adds this class */
.toast-cookie-consent.visible {
    transform: translateY(0);
    opacity: 1;
}

/* Hidden state - banner slides down out of view */
.toast-cookie-consent.hidden {
    transform: translateY(100%);
    opacity: 0;
}

/* Inner container to constrain width */
.toast-cookie-consent-container {
    max-width: 117rem;
    width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Text content area */
.toast-cookie-consent-text {
    flex: 1;
    font-size: 1.4rem;
    line-height: 1.6;
}

.toast-cookie-consent-text p {
    margin: 0;
}

.toast-cookie-consent-text a {
    color: #fff;
    text-decoration: underline;
}

.toast-cookie-consent-text a:hover {
    text-decoration: none;}

/* Button container */
.toast-cookie-consent-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* Accept button */
.toast-cookie-consent-button {
    background: var(--brand-1);
    color: #ffffff;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.toast-cookie-consent-button:hover {
    background: var(--brand-3);
}

/* Responsive Design - Mobile Devices */
@media screen and (max-width: 768px) {
    .toast-cookie-consent {
        padding: 1.5rem;
    }
    
    .toast-cookie-consent-container {
        flex-direction: column;
        gap: 1.5rem;
        width: 90%;
    }
    
    .toast-cookie-consent-text {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .toast-cookie-consent-actions {
        justify-content: center;
        width: 100%;
    }
    
    .toast-cookie-consent-button {
        width: 100%;
        text-align: center;
    }
}

/* Extra small devices */
@media screen and (max-width: 576px) {
    .toast-cookie-consent {
        padding: 1rem;
    }
    
    .toast-cookie-consent-text {
        font-size: 1.2rem;
    }
    
    .toast-cookie-consent-button {
        padding: 1rem 2rem;
        font-size: 1.3rem;
    }
}
