/* Modal styles */
.ageVerificationModal {
    display: block;
    position: fixed;
    z-index: 5147483646;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.ageVerificationModal-content {
    background-color: #000;
    color: #fff;
    padding: 20px;
    margin: 15% auto;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 8px;
}

.logo {
    display: inline-table;
}

.logo img {
    width: 100px;
    margin-bottom: 20px;
}

.ageVerificationModal-content h2 {
    font-size: 20px !important;
    margin-bottom: 10px !important;
}

p {
    font-size: 14px;
    margin: 10px 0;
}

.birthYearInput {
    padding: 10px !important;
    margin-top: 10px !Important;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 5px !important;
    width: 100% !important;
    color: #000;
    width: -webkit-fill-available !important;
    max-width: unset !important;
    margin-right: unset !important;
    height: unset !important;
}

.birthYearInput:focus {
    border-color: black;
    /* Border color on focus */
    box-shadow: 0 0 5px black;
    /* Optional: Adds a glowing effect */
    outline: 5px solid black !important;
    /* For Firefox and improved accessibility */
}

.ageVerificationBtn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background-color: #fff;
    color: #000;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ddd;
}

.agreement {
    margin-top: 20px;
    font-size: 12px;
    color: #ccc;
}

.agreement a {
    color: #fff;
    text-decoration: underline;
}

#ageModal {
    display: block;
    /* Keep it visible */
    position: fixed;
    /* Ensures it stays in place */
    z-index: 5147483646;
    /* High enough to be above all elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Semi-transparent background */
    pointer-events: auto;
    /* Enable interactions for modal */
}

/* Ensure body scrolling is controlled */
body.age-verification-active {
    overflow: hidden !important;
    pointer-events: none !important;
}

body.age-verification-active #ageModal {
    pointer-events: auto !important;
}

.ageVerificationModal-content {
    background-color: #000;
    color: #fff;
    padding: 20px;
    margin: 15% auto;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 8px;
    position: relative;
    z-index: 10000;
    /* Ensures modal content is on top */
}

.verification-item-error {
    opacity: 0;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    background-color: rgba(17, 17, 17, 0.9);
    top: -10px;
    padding: 20px;
    transition: .3s ease all;
    box-sizing: border-box;
    z-index: 29;
    top: 0;
    left: 0px;
    position: absolute;
}