/*Consent Stylesheet*/
#consent .clientAgLogo {
    margin: 0 0 60px !important;
}

#consent .clientAgLogo img, #loading .clientAgLogo img {
    max-width: 180px !important;
}

#consent, #loading {
    position: fixed;
    width: 100vw;
    height: 200vh;
    background: #7e2d40;
    background-size: cover;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    padding: 10px;
    box-sizing: border-box;
    font-family: 'grant-burge', sans-serif;
}

#consentQ {
    display: flex;
    flex-direction: column;
    background: #7e2d40;
    padding: 50px;
    border-radius: 15px;
}

#NotAllowed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    padding: 50px;
    border-radius: 15px;
}

#consent h1 {
    text-align: center;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 35px;
    color: #ffffff;
    text-transform: uppercase;
}

#NotAllowed h1 {
    font-size: 2rem;
    font-family: 'jost';
    font-weight: bold;
    color: #7e2d40;
}

#consent h1 span {
    display: block;
    margin-top: 12px;
    font-family: 'jost';
    font-weight: bold;
    color: #d7a460;
    font-size: 2.5rem;
    line-height: 2.5rem;
}

.btnGroup {
    margin: 30px;
}

.dob-input {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.dob-input input {
    height: 60px;
    flex-grow: 1;
    text-align: center;
    font-size: 2em;
    border: 2px solid #979694;
}

/* Chrome, Safari, Edge, Opera */
.dob-input input::-webkit-outer-spin-button,
.dob-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.dob-input input[type=number] {
    -moz-appearance: textfield;
    background: transparent;
    color: #979694;
}

.dob-input label {
    display: none;
}

#consent .dalogo {
    margin: 20px auto 0;
    display: block;
}

#consent .cookieMessage {
    font-size: 1em !important;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5em;
    color: #ffffff;
}

#consent .cookieMessage a:link, #consent .cookieMessage a:visited, #consent .cookieMessage a:active, #consent .cookieMessage a:hover {
    color: #ffffff;
}

.btnSubmit {
    font-family: 'Baskerville', sans-serif;
    margin-bottom: 10px;
    color: #ffffff;
    background-color: #d7a460;
    border-color: #d7a460;
    border-radius: 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    vertical-align: bottom;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    font-size: 1.5rem;
}

.btnSubmit:focus {
    background: #7E2D40;
    color: #FFFFFF;
}

/* NEW: Error handling styles */
.dob-input .field-error input,
.dob-input input.error {
    border-color: #ff0000;
    background-color: #ffeeee;
    color: #000000;
}

/* NEW: Error message containers */
#errorMsg,
.error-list {
    color: #ff0000;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.error-list ul {
    margin: 0;
    padding: 0 0 0 20px;
}

/* NEW: Age restriction view */
#NotAllowed {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* NEW: Date separators - auto-generated */
.date-separator {
    display: flex;
    align-items: center;
    font-size: 2em;
    color: #ffffff;
    padding: 0 5px;
}

/* NEW: Mobile responsiveness */
@media (max-width: 768px) {
    #consent .clientAgLogo img, #loading .clientAgLogo img {
        max-width: 100% !important;
    }

    #consentQ {
        padding: 20px;
    }

    #consent h1 {
        font-size: 1.8rem;
    }

    .dob-input input {
        height: 50px;
        font-size: 1.5em;
    }

    .btnSubmit {
        font-size: 1.5rem;
        padding: 15px 30px;
    }
}
