/* General Banner Styles */
.fqb-cookie-bannerx {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 10px !important;
    background-color: #333 !important;
    color: #fff !important;
    z-index: 20000000001 !important;
    box-sizing: border-box !important;
    display: flex;
    justify-content: space-between !important; /* Separate text and buttons */
    align-items: center !important; /* Align items vertically */
    flex-wrap: nowrap !important; /* Keep the text and buttons in one line */
}

/* Left Side: Text */
.fqb-cookie-text {
    font-size: 16px !important;
    line-height: 1.4 !important;
    flex-basis: 75% !important; /* 75% of the available space */
    padding-right: 15px !important; /* Add space between text and buttons */
    text-align: left !important;
    white-space: normal !important; /* Ensure text wraps properly */
}

/* Right Side: Buttons */
.cookie-banner-buttons {
    flex-basis: 25% !important; /* 25% of the available space */
    display: flex !important;
    flex-direction: column !important; /* Stack buttons vertically within the 25% space */
    gap: 10px !important; /* Add spacing between buttons */
    align-items: stretch !important; /* Ensure buttons stretch to fill the full width */
}

.fqb-cookie-button {
    background-color: #007bff !important; /* Blue button */
    border: none !important;
    padding: 10px !important;
    border-radius: 0 !important;
    color: white !important;
    cursor: pointer !important;
    width: 100% !important; /* Buttons take full width of the 25% container */
    text-align: center !important;
}

.fqb-reject-all {
    background-color: #7b4db3 !important;
}

.fqb-save-preferences {
    background-color: #333 !important;
    border: none !important;
    color: #fff !important;
    padding: 10px !important;
    text-align: center !important;
    width: 100% !important; /* Full width */
}

/* Mobile Styles */
@media (max-width: 767px) {
    .fqb-cookie-bannerx {
        flex-direction: column !important; /* Stack text and buttons vertically on mobile */
        text-align: center !important;
    }

    .cookie-banner-buttons {
        width: 100% !important; /* Buttons take full width on mobile */
        align-items: center !important; /* Center the buttons on mobile */
    }

    .fqb-cookie-text {
        width: 100% !important; /* Text takes full width on mobile */
        padding-right: 0 !important; /* Remove right padding */
        margin-bottom: 10px !important; /* Add margin below the text */
    }

    .fqb-cookie-button {
        width: 100% !important; /* Buttons take full width on mobile */
    }
}

/* Modal Styles */
.fqb-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 20000000002; /* High z-index to appear above other elements */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0, 0, 0, 0.7) !important; /* Black background with higher opacity for the mask */
    overflow: auto; /* Enable scroll if needed */
}
.fqb-modal-content h2 { font-size:16px !important; width:100%!important;}
.fqb-modal-content label { font-size:14px !important;width:100%!important;}
/* Modal Content Styles */
.fqb-modal-content {
    background: #fff !important;
    margin: 10% auto; /* Center vertically with margin */
    padding: 20px; /* Add padding */
    border-radius: 6px; /* Slightly rounded corners */
    width: 90%; /* Responsive width */
    max-width: 400px; /* Smaller max-width */
    position: relative;
    z-index: 20000000003; /* Ensure content is above the mask */
}

/* Close Button Styles */
.fqb-close {
    color: #aaa;
    float: right;
    font-size: 20px; /* Smaller close button */
    font-weight: bold;
    cursor: pointer;
}

.fqb-close:hover {
    color: black;
}