/* 
|-----------------------------------------------------------
| Cookie Consent Banner Styles
|-----------------------------------------------------------
*/

/* Modern, responsive and accessible design for the Cookie Consent Banner */
.el-cc-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    color: #333;
    padding: 15px 20px;
    font-size: 16px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 21212121;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px; /* Modern browsers support gap for flex layouts */
    text-align: center;
}

/* Container for the content */
.el-cc-content-wrapper {

}
/* Container for the buttons */

.el-cc-btn-wrapper {

}

/* Styles for the buttons */
.el-cc-btn {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

    /* Hover and focus effects for improved interactivity */
    .el-cc-btn:hover,
    .el-cc-btn:focus {
        background: #005a8c;
        transform: translateY(-2px);
        outline: none;
    }

    /* Visible focus for keyboard navigation */
    .el-cc-btn:focus-visible {
        outline: 2px solid #ffbf47;
    }

/* Text style for the message */
#el-cc-banner p {
    margin: 0;
    line-height: 1.5;
}



/* 
|-----------------------------------------------------------
| Overlay Styles (Force Consent)
|-----------------------------------------------------------
*/

/* Style for the overlay that disables interaction */
.el-cc-force-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 21212120; /* Positioned behind the banner */
    pointer-events: all; /* Block all interactions */
}