/* ─── Valhallr variable definitions (scoped to modal) ─── */
#signUpForm {
    --font-size-m: 13px;
    --font-size-s: 11px;
    --font-family-work_sans: 'Work Sans', sans-serif;
    --mako: #454756;
    --bombay: #9a9aaa;
    --white: #ffffff;
    position: relative;
    z-index: 100001;
}

/*OVERRIDE*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active {

    -webkit-box-shadow: none !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid #454756 !important;
    transition: none !important;
    -webkit-box-shadow: 0 0 0 30px #1c1c24 inset !important;
    -webkit-text-fill-color: white !important;

}


/* INPUT */


input:focus {
    border: 1px solid #3cb4cc !important;
}

select:focus {
    border: 1px solid #3cb4cc !important;
}

input::placeholder {
    color: #CACED7;
    font-size: 14px;
}

.multi-selection {
    border: 1px solid var(--mako, #ccc);
    border-radius: 5px;
    position: relative;
    height: auto;
    background-image: url('https://supernovawebfiles.blob.core.windows.net/images/Icons/Icon_Search_White.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

.multi-selection input {
    border: none !Important;
    background-color: transparent !Important;
    outline: none !Important;
    width: 100%;
    color: white;
    height: 40px;
    padding: 0;
    font-family: var(--font-family-work_sans);
}

.date-input {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.date-input.errorsExist {
    padding: 0.5rem;
}

input {

    font-size: 14px;

}


.form-field-input {
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--mako, #ccc);
    border-radius: 5px;
    box-sizing: border-box;
    background-color: transparent;
    width: 100%;
    color: white;
    font-family: var(--font-family-work_sans);

}

.form-dropdown {
    background-color: transparent;
    font-family: var(--font-family-work_sans);
    border: none;
    color: #ffffff;
    flex-grow: 1;
    height: 40px;
    border: 1px solid var(--mako, #454756);
    border-radius: 5px;
    padding: 0 11px;
    width: 100%;
    background-image: url('https://supernovawebfiles.blob.core.windows.net/images/Icons/Icon_Chevron_down_White.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    font-size: 14px;
    /* Default font size */
}

@media (max-width: 1024px) {
    .form-dropdown {
        font-size: 16px;
        /* Font size for mobile devices */
    }

    .input {

        font-size: 16px;

    }

    input::placeholder {
        color: var(--bombay);
        font-size: 16px;
    }
}


.form-text {
    color: var(--white);
    font-family: var(--font-family-work_sans);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 400;
}

select option {
    background-color: black;
    color: grey;
    padding: 5px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.close {
    height: 20px;
}

.overlay {
    position: fixed;
    padding: 1rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    z-index: 100001;
    font-family: var(--font-family-work_sans);

}

.overlay .container {
    margin-top: 76px;
    margin-bottom: 30px;
    padding-right: 5%;
    padding-left: 5%;
    display: flex;
    justify-content: center;
}






/* Modal */
.modal {

    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.modal-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    margin: 0 auto;
    width: fit-content;
    height: 100%;
    overflow-y: auto;
    padding: 3rem 0;
}



/* Confirmation */
.confirmation-modal {
    display: none;
    background: linear-gradient(146deg, #3c29e3 -1.49%, #4392f3 33.58%, #4cd2e4 67.16%, #10f9ab 102.23%);
    padding: 2rem;
    border-radius: 9px;
}

.confirmation-content {
    text-align: center;
}

.confirmation-image {
    width: 150px;
    display: block;
    margin: 0 auto;
}

.confirmation-title {
    font-size: 1.2rem;
    /* font-weight: 500; */
    /* letter-spacing: 0; */
    color: white;
    margin: 1rem 0;
    font-family: var(--font-family-work_sans);
}

.confirmation-message,
.confirmation-cta {
    color: white;
    font-family: var(--font-family-work_sans);
    font-size: var(--font-size-m);
    font-weight: 400;
    margin: 1rem 0;
    line-height: 22px;
}

.confirmation-cta a {
    color: inherit;
    text-decoration: underline;
}

.confirmation-button {
    border: 1px solid white;
    padding: 0.8rem;
    font-family: var(--font-family-work_sans);
    font-size: var(--font-size-m);
    text-align: center;
    margin-top: 1rem;
    border-radius: 0.2rem;
    color: white;
    background-color: transparent;
    width: 100%;

}

.confirmation-button:hover {
    cursor: pointer;
    background: #FFFFFF1A 0% 0% no-repeat padding-box;
    border: 1px solid #FFFFFF;
}





/*FORM*/
.form {
    max-width: 572px;
    background-color: #1c1c24;
    color: var(--white);
    font-family: var(--font-family-work_sans);
    position: relative;
    padding: 2rem;
    border: #424249 1px solid;
    border-radius: 9px;
}

.form-title {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
}

.form-detail {
    margin: 1.5rem 0;
    text-align: center;
    line-height: 1.3rem;
    color: #CACED7;
    font-size: 14px;
    margin-top: 0.8rem;
}

.form-field-input::placeholder {
    color: #CACED7;
}

.form-field-input::-webkit-input-placeholder {
    color: #CACED7;
}

.form-field-input:-ms-input-placeholder {
    color: #CACED7;
}

.form-field-input::-ms-input-placeholder {
    color: #CACED7;
}



/* Name field */
.nameField {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 10px;
}



.form-field-input:focus-visible {
    outline: none;
}



.form-dropdown {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    outline: none;
}

.form-dropdown:focus {
    outline: none;
    border: 1px solid #3cb4cc;
}

.multi-selection-input:focus {
    outline: none;
    border: 1px solid #3cb4cc;
}



/* T&C */
#terms-and-conditions {
    margin-top: 1.5rem;

    display: flex;
}

#terms-and-conditions label {
    display: flex;
    color: var(--white);
    font-family: var(--font-family-work_sans);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 400;
}

#terms-and-conditions .termsOfServiceLink,
#terms-and-conditions .privacyLink {
    color: #3cb4cc;



}

#terms-and-conditions:hover .termsOfServiceLink:hover,
#terms-and-conditions:hover .privacyLink:hover {
    color: #36a2b7;
    cursor: pointer;




}


#terms-and-conditions.errorsExist {
    padding: 0.5rem;
}

#terms-and-conditions .custom-checkbox {
    display: inline-block;
    width: 26px;
    height: 26px;
    margin-right: 10px;
    cursor: pointer;
    background-color: transparent;

    background-repeat: no-repeat;
    background-position: center;
    padding: 0.6rem;
    background-size: 10px;
    border: 1px solid #454756;
    border-radius: 0.2rem;
}


#terms-and-conditions input:checked+.custom-checkbox {

    background-color: #3cb4cc;
    border: #3cb4cc 1px solid;
    background-image: url('https://supernovawebfiles.blob.core.windows.net/images/Icons/Icon_Tick.png');
}













.no-scroll {
    overflow: hidden;
}


























.error-icon-container {

    justify-content: center;
    display: flex;
    flex-direction: column;
    margin: 0.8rem;
    background-color: red;
    border-radius: 100%;
    height: fit-content;
    padding: 0.2rem;



}

.error-notification {
    color: white;
    display: flex;
    align-items: center;
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 360px;
    z-index: 999999999;
    background-color: #111;
    border-radius: 0.5rem;
    font-family: var(--font-family-work_sans);
    font-size: 13px;
    border: 1px solid rgb(255, 60, 60) !important;
}


.multi-selection-selections {

    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 6px 6px;

}

.selection-close-button {

    margin-left: 0.5rem;
    cursor: pointer;
}


.gameSelection {
    font-size: 12px;
    border-radius: 4px;
    padding: 6px 8px;
    color: #fff;
    background-color: #353542;
    height: fit-content;
}


.gamesContainer {
    position: relative;


}

.multi-selection-options {
    position: absolute;
    background-color: #16161e;
    width: 99.9%;
    border: 1px solid var(--mako, #ccc);
    border-radius: 6px;
    max-height: 210px;
    overflow: auto;
    z-index: 9999;
}

.otherGameSelection {
    padding: 10px 12px;
    font-size: var(--font-size-m);
    display: flex;
    justify-content: space-between;
    border-bottom: #454756 1px solid;
}

.selected {

    color: #3cb4cc;
    font-weight: 500;

}

.otherGameSelection.notSelected:hover {
    background-color: #222228;
    cursor: pointer;

}

.body-container {
    position: relative;
    max-width: 572px;
}



#emailContainer {
    position: relative;
    margin-bottom: 10px;

}

#email-indicator {

    position: absolute;
    top: 20px;
    right: 10px;
    transform: translateY(-50%);
    line-height: 0;
}

#email-indicator img {
    width: 10px;
}

.email-error-icon-container {
    background-color: red;
    border-radius: 100%;
    display: flex;
    height: 20px;
    width: 20px;
    align-items: center;
    justify-content: center;
}

.email-success-icon-container {
background-color: #3EC569;
    border-radius: 100%;
    display: flex;
    height: 20px;
    width: 20px;
    align-items: center;
    justify-content: center;
}



.form-field-title {

    margin-bottom: 0.4rem;
    width: 100%;
    color: var(--white);
    font-family: var(--font-family-work_sans);
    font-size: var(--font-size-m);
    font-style: normal;
    font-weight: 400;


}



.errorsExist {

    border: 1px solid rgb(255, 60, 60) !important;
    border-radius: 0.2rem;
}




#terms-and-conditions-text {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    /* adjust to your theme */
}




.error-message {

    color: rgb(255, 60, 60);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.blank-option {
    color: #CACED7 !important
}





.close-button {


    background-color: #ffffff14;
    padding: 0.3rem;
    line-height: 0;
    border-radius: 20rem;
    height: fit-content;
}

.close-button-error {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    object-fit: contain;
    background-color: #ffffff14;
    padding: 0.3rem;
    line-height: 0;
    border-radius: 20rem;
    margin: 0.8rem;
    box-sizing: content-box;
}


.close-button-error:hover {

    background-color: #ffffff3d;
    cursor: pointer;


}


#closeButton {

    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 999;
    height: fit-content;
}

.close-button:hover {

    background-color: #ffffff3d;
    cursor: pointer;


}



.actionButton {

    border: 1px solid white;
    font-family: var(--font-family-work_sans);
    font-size: var(--font-size-s);
    text-align: center;
    margin-top: 1rem;
    border-radius: 6px;
    color: white;
    height: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.actionButton:hover {

    cursor: pointer;
    background-color: rgb(255 255 255 / 10%);

}
