/*=====================================
    Cookie Consent Modal Styles
=======================================*/
.fas, .fa {
    font-family: 'Font Awesome 5 Free' !important;
}

.far {
    font-family: 'Font Awesome 5 Free' !important;
}

.fab {
    font-family: 'Font Awesome 5 Brands' !important;
}

.cookie-consent-modal {
    position: fixed;
    bottom: -200%; /* Initially hidden way off screen */
    left: 0;
    right: 0;
    z-index: 1050; /* High z-index to be on top */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Aligns to bottom if content is smaller than viewport */
    transition: bottom 0.5s ease-in-out;
}

.cookie-consent-modal.am-active {
    bottom: 0; /* Slides into view */
}

#cookieConsentModal {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9999;
}

#cookieConsentModal.am-active {
    display: block;
    opacity: 1;
}


.cookie-consent-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    max-width: 900px; /* Adjust as needed */
    width: 100%;
    position: relative; /* For the close button */
    /* background-color: var(--color-light-1); Already applied by class */
    /* border: 1px solid var(--color-border-dark-1); Already applied by class */
    /* border-radius: var(--radius-default); Already applied by class */
    /* box-shadow: 0 -2px 10px rgba(var(--color-black-rgb), 0.1); Already applied by class */
}

.cookie-consent-modal .cookie-icon {
    font-size: 2.5rem; /* Adjust icon size */
    color: var(--color-primary); /* Or a specific color for the icon */
    flex-shrink: 0;
}

.cookie-consent-modal .cookie-text {
    flex-grow: 1;
}

.cookie-consent-modal .cookie-title {
    color: var(--color-dark-1-fixed);
    margin-bottom: 8px;
}

.cookie-consent-modal .cookie-description {
    font-size: var(--size-b6);
    color: var(--color-body-fixed);
    margin-bottom: 0; /* Remove default p margin */
}
.cookie-consent-modal .cookie-description a {
    color: var(--color-primary); /* Link color */
    font-weight: 500;
}
.cookie-consent-modal .cookie-description a:hover {
    text-decoration: none; /* underline-animation handles it */
}


.cookie-consent-modal .cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-consent-modal .cookie-actions .axil-btn-small {
    min-height: 40px; /* Ensure buttons are decently sized */
    padding: 0 20px;
    font-size: 14px;
}
.cookie-consent-modal .axil-btn.axil-btn-light {
    background-color: var(--color-light-2-fixed);
    color: var(--color-dark-1-fixed);
    border-color: var(--color-border-dark-2-fixed);
}
.cookie-consent-modal .axil-btn.axil-btn-light:hover {
    background-color: var(--color-light-3-fixed);
    box-shadow: none;
    transform: none;
}

.cookie-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--color-meta-dark-1-fixed);
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}
.cookie-close-btn:hover {
    color: var(--color-dark-1-fixed);
}


/* Responsive adjustments for the cookie modal */
@media (max-width: 767px) {
    .cookie-consent-modal {
        padding: 15px;
    }
    .cookie-consent-content {
        flex-direction: column;
        align-items: flex-start; /* Align text to left */
        text-align: left; /* Ensure text is left-aligned */
        padding: 20px;
        gap: 15px;
    }
    .cookie-consent-modal .cookie-icon {
        font-size: 2rem;
        align-self: center; /* Center icon on mobile */
        margin-bottom: 5px;
    }
    .cookie-consent-modal .cookie-actions {
        width: 100%;
        justify-content: space-between; /* Space out buttons */
    }
    .cookie-consent-modal .cookie-actions .axil-btn {
        flex-grow: 1; /* Make buttons take more space if desired */
        margin: 0 5px;
    }
    .cookie-consent-modal .cookie-actions .axil-btn.me-2 {
        margin-right: 5px !important;
    }
}
@media (max-width: 480px) {
    .cookie-consent-modal .cookie-actions {
        flex-direction: column;
        gap: 10px;
    }
     .cookie-consent-modal .cookie-actions .axil-btn {
        width: 100%;
        margin: 0;
    }
    .cookie-consent-modal .cookie-actions .axil-btn.me-2 {
        margin-bottom: 10px;
    }
}