/*
For Theming and Customization - 1
Color Palette: Primary-background: #07011c, 
Primary-text: #fff, 
Accept-button: #ffc800, color: #07011c
Deny-button: #d1d1d1, color: #07011c
View Policies: link color: #ffc800; hover: #ffb900
*/

/*
For Theming and Customization - 2
Color Palette: Primary-background: #fff, 
Primary-text: #07011c, background: #fff
Accept-button: #07011c, text: #fff
Deny-button: #d1d1d1, text: #07011c
View Policies: link color: #031f8c; 
*/

#cookie-banner {
    position: fixed;
    z-index: 9999; /* Ensure it is above all other content */
    bottom: 0;
    width: 100%;
    background: #07011c;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow wrapping for responsiveness */
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.78);
}

#cookie-banner div {
    flex: 1 1 auto; /* Allow flexible width */
    text-align: center;
    margin-bottom: 10px;
}

#cookie-banner button {
    margin: 5px 0;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#accept-cookies {
    color: #07011c;
    background: #ffc800;
    margin-right: 10px;
    border: 0px; 
    border-radius: 0px;
}

#deny-cookies {
    margin-right: 10px; 
    color: #07011c;
    background: #d1d1d1; 
    border: 0px; 
    border-radius: 0px;
}

#close-banner {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
}

.view-policies{
    color: #ffc800;
    text-decoration: underline;
    cursor: pointer;
}
.view-policies:hover{
    color: #ffb900 ;
}
#cookie-decline-dialog {
    font-size: 14px;
    color: #333;
    padding: 20px;
}
.ui-button-icon .ui-icon .ui-icon-closethick {
    display: none !important;
}
.ui-dialog.no-close .ui-dialog-titlebar-close {
    display: none !important;
}
.ui-widget-overlay {
    background: #000;
    opacity: 0.8 !important;
}
.ui-dialog .ui-dialog-titlebar-close, .ui-button .ui-icon{
    display:none !important; 
}
/* Hide the close button ("X") in the title bar */
.ui-dialog.no-close .ui-dialog-titlebar-close {
    display: none !important;
}
/* Mobile Styles */
@media (max-width: 768px) {
    #cookie-banner {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center align for a neat look */
    }

    #cookie-banner div {
        width: 100%; /* Ensure full width for mobile */
        margin-bottom: 10px;
    }

    #cookie-banner p {
        margin: 0 0 10px;
    }

    #cookie-banner button {
        width: 80%; /* Buttons take 80% of the screen width */
        max-width: 300px; /* Optional: Limit button width */
    }
}