/* WAI-Core: src/app/static/css/cookie/cookie.css v1 */

/* Website: src/app/static/css/cookie/cookie.css v1.0 */
/* Website: Website/src/app/static/css/cookie/cookie.css v1.0 */
/* More specific class targeting to prevent conflicts */

/* CSS for the container */
.cookie-banner-container {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    /* Ensure banner stays above the footer */
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px; /* Consistent padding */
    height: 80px; /* Consistent height for the banner */
    font-family: 'Roboto', Arial, sans-serif; /* Define font family */
    font-size: 14px; /* Define consistent font size */
}

/* CSS for the banner */
.cookie-banner-container .cookie-banner {
    background-color: #fff !important; /* Ensure background color is not overridden */
    border-radius: 4px;
    padding: 10px 20px; /* Consistent padding inside the banner */
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80%; /* Consistent width for the banner */
    max-width: 1200px; /* Max width to ensure the banner doesn't get too wide on larger screens */
    font-size: 14px; /* Set font size */
    font-family: 'Roboto', Arial, sans-serif; /* Define font family */
}

/* Content inside the banner */
.cookie-banner-container .cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Text inside the banner */
.cookie-banner-container .cookie-text {
    font-size: 14px !important; /* Ensure consistent text size */
    margin: 0;
    flex: 1;
    color: #333 !important; /* Ensure consistent text color */
    max-width: 70%; /* Ensure text takes up a consistent amount of space */
    line-height: 1.5; /* Ensure readability */
    font-family: 'Roboto', Arial, sans-serif; /* Define font family */
}

/* Buttons inside the banner */
.cookie-banner-container .cookie-buttons {
    display: flex;
    align-items: center;
    margin-left: 15px;
    min-width: 200px; /* Ensure consistent space for buttons */
}

/* Button styling */
.cookie-banner-container .cookie-button {
    padding: 8px 16px !important; /* Consistent padding for all buttons */
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 14px !important; /* Set consistent font size */
    width: 100px; /* Consistent button width */
    font-family: 'Roboto', Arial, sans-serif; /* Define font family */
}

/* Settings link inside the banner */
.cookie-banner-container .settings-link {
    text-decoration: none;
    color: #0080ff !important;
    font-weight: bold;
    font-size: 14px !important; /* Consistent font size */
    margin-left: 5px;
    width: auto; /* Ensure the link adjusts based on text size */
    height: 40px; /* Consistent height for the link */
    display: flex;
    align-items: center; /* Vertically center the text */
    font-family: 'Roboto', Arial, sans-serif; /* Define font family */
}

/* Settings link hover effect */
.cookie-banner-container .settings-link:hover {
    text-decoration: underline !important;
}

/* Responsive styles */
@media (max-width: 600px) {
    .cookie-banner-container {
        height: auto;
        padding: 15px;
    }

    .cookie-banner-container .cookie-banner {
        flex-direction: column;
        width: 95%;
        height: auto;
        padding: 15px;
    }

    .cookie-banner-container .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-container .cookie-text {
        max-width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .cookie-banner-container .cookie-buttons {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .cookie-banner-container .cookie-button {
        width: auto;
        margin-bottom: 10px;
    }

    .cookie-banner-container .settings-link {
        height: auto;
    }
}
