/* override some values in starter.css */
#top-bar-container {
    box-sizing: initial;
    line-height: initial;
    max-width: initial;
    display: block !important;
}
#top-bar-container img {
    max-width: initial;
}
#top-bar-container form {
    margin: 0;
}
/* global font rendering from ch5 */
#top-bar-container {
    font-smooth: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

#top-bar-container {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
}

#top-bar-container p {
    margin: 0;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* Web browsers that does not support RGBa */
    background: rgb(0, 0, 0);
    /* IE9/FF/chrome/safari supported */
    background: rgba(0, 0, 0, 0.9);
    /* IE 8 suppoerted */
    /* Here some time problem for Hover than you can use background color/image */
    -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000, endColorstr=#88000000)';
    display: none;
    z-index: 11;
    overflow-y: scroll;
}

#overlay-container-foreground {
    z-index: 12;
}

.overlay-container:after {
    clear: both;
    display: block;
    content: '';
}

/* Fix position of popups during scroll */
#top-bar-container .overlay-container {
    position: fixed;
}

#popupFullContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#popupLarge {
    height: 60vh;
    width: 50vh;
    background: linear-gradient(180deg, rgba(237, 244, 255, 1) 45%, rgba(195, 212, 241, 1) 100%);
    border-radius: 2vh;
    border-style: solid;
    border-width: 0.45vh;
    border-color: #9b95ea;
}

#popupLargeButtons {
    height: 80vh;
    width: 50vh;
    background: linear-gradient(180deg, rgba(237, 244, 255, 1) 45%, rgba(195, 212, 241, 1) 100%);
    border-radius: 2vh;
    border-style: solid;
    border-width: 0.45vh;
    border-color: #9b95ea;
    padding-bottom: 2.5vh;
}

.popupLogin #popupLargeButtons {
    height: 75vh;
}

#popupFullContainer:has(.welcomeOffer) #popupLargeButtons {
    height: 72vh;
}

.popupClassic:has(.welcomeOffer) .popupRegisterLarge#popupLargeButtons {
    padding-bottom: 6.25vh;
}

#popupSmall {
    height: 60vh;
    width: 50vh;
    background: linear-gradient(180deg, rgba(237, 244, 255, 1) 45%, rgba(195, 212, 241, 1) 100%);
    border-radius: 2vh;
    border-style: solid;
    border-width: 0.45vh;
    border-color: #9b95ea;
}

#popupSmallTimeout {
    height: 30vh;
    width: 50vh;
    background: linear-gradient(180deg, rgba(237, 244, 255, 1) 45%, rgba(195, 212, 241, 1) 100%);
    border-radius: 2vh;
    border-style: solid;
    border-width: 0.45vh;
    border-color: #9b95ea;
}

#popupSmallBlank {
    height: 60vh;
    width: 50vh;
    background: linear-gradient(180deg, rgba(237, 244, 255, 1) 45%, rgba(195, 212, 241, 1) 100%);
    border-radius: 2vh;
    border-style: solid;
    border-width: 0.45vh;
    border-color: #9b95ea;
}

#popupContainer {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    position: relative;
}

#timeoutReasonDiv {
    width: 90%;
}

#selfExclusionReasonDiv {
    width: 90%;
}

#FailedLoginsReasonDiv {
    width: 90%;
}

.popupSignInButtons {
    height: 100%;
    width: 100%;
}

.popupSignInEmail {
    width: 100%;
}

.popupRegisterButtons {
    height: 100%;
    width: 100%;
}

.popupRegisterEmail {
    height: 100%;
    width: 100%;
}

.popupContainerLarge {
    height: 100%;
    width: 100%;
}

.popupContainerMedium {
    height: 80%;
    width: 100%;
    margin-top: 30%;
}

.popupContainerSmall {
    height: 100%;
    width: 100%;
}

.popupContainerSmallBlank {
    height: 100%;
    width: 100%;
}

.popupForgotPassword .popupContainerSmall {
    background-image: url('../images/popups/reset-link-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.lbv .popupForgotPassword .popupContainerSmall {
    background-image: unset;
}

.popupHeader {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    width: 70%;
}

.popupForgotPassword .popupContainerSmall .popupHeader,
.popupForgotDetails .popupContainerSmall .popupHeader {
    height: 25%;
    align-items: center;
}

.popupBody {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 60%;
    width: 90%;
}

.popupRegisterEmail .popupBody {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 35vh;
    width: 90%;
    margin: 0 auto;
}

#popupFullContainer:has(.welcomeOffer) .popupRegisterEmail .popupBody {
    height: 30vh;
}

.lbv .popupRegister #popupLarge {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.popupSignInEmail .popupBody {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 50%;
    width: 100%;
    padding-bottom: 0.6vh;
}

.popupForgotPassword .popupContainerSmall .popupBody,
.popupForgotDetails .popupContainerSmall .popupBody {
    height: 0%;
}

.popupSubBody {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: 10%;
    justify-content: space-between;
}

.popupFooter {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.popupRegister .popupFooter {
    margin-top: 14vh;
}

.popupFooterMultiAccount {
    display: flex;
    flex-flow: row wrap;
    align-items: baseline;
    justify-content: center;
    position: absolute;
    bottom: -2%;
    width: 100%;
    height: 15%;
    background: linear-gradient(180deg, rgb(198 214 242) 45%, rgba(195, 212, 241, 1) 100%);
    border-radius: 0 0 2vh 2vh;
    border-style: solid;
    border-width: 0 0.45vh 0.45vh 0.45vh;
    border-color: #9b95ea;
}

.popupRegister .popupFooterMultiAccount {
    height: 12%;
}

#popupFullContainer:has(.welcomeOffer) .popupFooterMultiAccount {
    bottom: -7%;
}

.footerContainer {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 2%;
    position: absolute;
    bottom: -6%;
    width: 102%;
    height: 8%;
    background: linear-gradient(180deg, rgba(214, 64, 255, 1) 40%, rgba(172, 30, 255, 1) 100%);
    border-radius: 0 0 2vh 2vh;
    border-style: none;
    border-width: 0.75vw;
    border-color: #9b95ea;
}

.popupRegister .footerContainer {
    bottom: -6%;
}

.popupRegister.popupClassic .footerContainer {
    bottom: -8%;
}

#popupFullContainer:has(.welcomeOffer) .footerContainer {
    bottom: -11%;
}

.popupClassic#popupFullContainer:has(.welcomeOffer) .footerContainer {
    bottom: -13%;
}

.forgotPWHeader,
.forgotDetailsHeader {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 20%;
    margin-bottom: 1vh;
}

.popupForgotDetails .forgotDetailsHeader {
    margin-top: 1.25vh;
}

.forgotPWBody,
.forgotDetailsBody {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    height: 35%;
    width: 90%;
    margin-top: 2.5vh;
}

.popupForgotDetails .forgotDetailsBody {
    height: unset;
    margin-top: 2.5vh;
    margin-bottom: 10vh;
}

.popupForgotDetails .forgotDetailsBody:has(#extId) {
    margin-bottom: 3.75vh;
}

.verificationCodeDigits {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.verificationCodeDigits .verificationCodeDigit {
    width: 2.5rem;
    height: 8.5vh;
    box-sizing: border-box;
    text-align: center;
    border-radius: 0.625rem;
    border: solid 0.063rem rgba(140, 119, 255, 0.2);
    font-size: 1.313rem;
    font-weight: bold;
}

.lbv .verificationCodeDigits .verificationCodeDigit {
    border-color: transparent;
}

.verificationCodeDigits.has-error .verificationCodeDigit {
    border-color: rgba(220, 53, 69, 0.6);
}

.welcomeBody {
    height: auto;
    background-image: url('../images/popups/h-5-c-playercard-bg.png');
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.125rem 0 rgba(22, 14, 68, 0.3);
    border: solid 0.0625rem rgba(62, 27, 163, 0.32);
    background-color: white;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
    margin-top: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.lbv .welcomeBody {
    background-image: url('../images/popups/lbv-playercard-bg.png');
    border: solid 0.0625rem rgb(69, 79, 89);
    background-color: rgb(34, 39, 44);
}

.forgotPWFooter,
.forgotDetailsFooter {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    width: 90%;
    height: 15%;
    margin-top: 4.5vh;
}

#forgotPWFooter,
#forgotDetailsFooter {
    height: 0%;
}

.popupForgotDetailsCode .forgotDetailsCodeResendWrap {
    width: 100%;
}

.popupForgotDetailsCode #forgotDetailsCodeMessageText {
    text-align: center;
}

.popupForgotDetailsCode .forgotDetailsCodeResendWrap .resendForgotDetailsCode {
    display: block;
    text-align: center;
    text-decoration: underline;
    margin-top: 0.25rem;
    font-size: 1.75vh;
}

.lbv .popupForgotDetailsCode .forgotDetailsCodeResendWrap .resendForgotDetailsCode {
    color: white;
}

.resendForgotDetailsCodeText {
    font-weight: bold;
    color: #431aa2;
}

.lbv .resendForgotDetailsCodeText {
    color: white;
}

.popupForgotDetailsCode .resendForgotDetailsCode.resendCountdownActive {
    pointer-events: none;
    opacity: 0.7;
    cursor: default;
}

#forgotPWContinue,
#forgotDetailsContinue {
    height: 34%;
    width: 84%;
}

#signInEmail {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff7b1b;
    border-radius: 6.25vh;
    margin: 0 auto;
    margin-top: 1.5vh;
}

.popupRegister #signInEmail {
    margin-top: 0;
}

#popupFullContainer:has(.welcomeOffer) #signInEmail {
    margin-top: 1.5vh;
}

.popupSignInEmail #signInEmail,
.popupRegisterEmail #signInEmail {
    background-color: unset;
}

#signInSocial {
    justify-content: center;
}

#or {
    margin-top: 2.5vw;
    font-size: 3.75vw;
}

.logoContainer {
    position: absolute;
    top: 1%;
    width: 90%;
    height: 9%;
    text-align: center;
}

.logoContainer img {
    height: 100%;
}

.popupRegisterButtons #headerTextPosition,
.popupSignInButtons #headerTextPosition {
    top: 14%;
}

.fbEnabled .popupRegisterButtons #headerTextPosition,
.fbEnabled .popupSignInButtons #headerTextPosition {
    top: 19%;
}

.popupRegisterButtons #subtitleA,
.popupSignInButtons #subtitleA {
    margin-top: 25%;
}

.fbEnabled .popupRegisterButtons #subtitleA,
.fbEnabled .popupSignInButtons #subtitleA {
    margin-top: 10%;
}

.headerText {
    font-family: 'Noto Sans', sans-serif;
    font-size: 2.5vh;
    font-weight: 700;
    text-align: center;
    color: #431aa2;
    user-select: none;
    white-space: nowrap;
}

#headerTextPosition {
    position: absolute;
    top: 10%;
    display: flex;
    width: 90%;
    height: 0;
    justify-content: center;
    align-items: center;
}

#headerB {
    display: flex;
    width: 85%;
    height: 10%;
    justify-content: center;
    align-items: center;
}

#headerFPW,
#headerFD {
    margin-bottom: 2vh;
}

#subtitleA {
    display: flex;
    width: 90%;
    text-align: center;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 2vh;
}

#rememberMe {
    margin-left: 3.75vh;
    width: 20vh;
    pointer-events: none;
}

#forgotPassword,
#forgotUserEmail {
    text-decoration: underline;
    font-weight: bold;
    margin: 0 auto;
    width: unset;
}

.bodyText {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.75vh;
    text-align: left;
    color: #431aa2;
    user-select: none;
    width: 100%;
}

.welcomeBodyText {
    width: 90%;
    padding-left: 1.2vh;
    padding-right: 1.2vh;
}

#usernameSubtext {
    position: absolute;
    width: 90%;
    height: 0;
    top: 51%;
    left: 5%;
    font-size: 1.35vh;
}

#popupFullContainer:has(.welcomeOffer) #usernameSubtext {
    top: 54%;
}

.bodyTextCentered {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.75vh;
    text-align: center;
    color: #431aa2;
    user-select: none;
}

.accountLimitText {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.9vh;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #e52b20;
    user-select: none;
}

.accountLimitText2 {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.5vh;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    color: #e52b20;
    user-select: none;
}

#accountLimitTextPosition {
    position: absolute;
    bottom: 22%;
    display: flex;
    width: 90%;
    height: 0;
    justify-content: center;
    align-items: center;
}

.popupRegister.popupSweeps #accountLimitTextPosition {
    display: none;
}

.popupClassic .popupRegisterLarge #accountLimitTextPosition {
    bottom: 7%;
}

.popupClassic:has(.welcomeOffer) .popupRegisterLarge #accountLimitTextPosition {
    bottom: 2%;
}

.fbEnabled #accountLimitTextPosition {
    bottom: 20%;
}

#accountLimitTextPosition2 {
    position: absolute;
    bottom: 8%;
    display: flex;
    width: 90%;
    height: 0;
    justify-content: center;
    align-items: center;
}

.popupClassic .popupRegisterLarge #accountLimitTextPosition2 {
    bottom: 2%;
}

.popupClassic:has(.welcomeOffer) .popupRegisterLarge #accountLimitTextPosition2 {
    bottom: -3%;
}

.timeoutTextLarge {
    font-family: 'Noto Sans', sans-serif;
    font-size: 2.5vh;
    text-align: center;
    font-weight: bold;
    color: #431aa2;
    user-select: none;
    margin-bottom: 5%;
    margin-top: 2%;
}

.timeoutTextSmall {
    font-family: 'Noto Sans', sans-serif;
    font-size: 2vh;
    font-weight: 500;
    text-align: center;
    color: #431aa2;
    user-select: none;
    margin-bottom: 5%;
}

.footerText {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.75vh;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    user-select: none;
}

.footerTextCentered {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.85vh;
    font-weight: bold;
    text-align: center;
    color: #e52b20;
    user-select: none;
    width: 85%;
    margin-top: 1.5%;
}

.buttonTextWhite {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.8vh;
    font-weight: 600;
    text-align: left;
    color: #fff;
    user-select: none;
    white-space: nowrap;
}

.blueTextStandard,
.blueTextLight {
    font-size: 1.5vh;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: left;
    color: #431aa2;
    margin-top: 0.8vh;
}

.lbv .blueTextStandard,
.lbv .blueTextLight {
    color: #ffffff;
}

.blueTextLight {
    font-weight: 500 !important;
    margin-top: 0.3vh !important;
    margin-bottom: 1.25vh;
    opacity: 0.7;
}

.lbv .buttonTextWhite {
    color: #5a2b07;
}

.textEntry {
    border: none;
    width: 93% !important;
    height: 1.9vh;
    border-radius: 1.5vh;
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.75vh;
    color: #431aa2;
    margin-bottom: 1.55vh;
    padding: 1.5vh;
    white-space: nowrap;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.08vh #dad3ff;
}

.textEntryUsername {
    margin-bottom: 5.5vh;
}

.popupRegister .textEntryUsername {
    margin-bottom: 3.5vh;
}

input::placeholder {
    color: #a18cd0;
}

input:focus {
    outline: none !important;
    border-color: #dad3ff;
    box-shadow: 0 0 0.5rem #dad3ff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 6vh #ffff inset !important;
}

input:-webkit-autofill {
    -webkit-text-fill-color: #431aa2 !important;
}

.lbv input:-webkit-autofill {
    -webkit-text-fill-color: #ffffff !important;
}

.password-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 0.6vh;
}

.password-wrapper .toggle-password {
    position: absolute;
    right: 2vh;
    top: 35%;
    transform: translateY(-50%);
    width: 2.75vh;
    height: 2.75vh;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.password-wrapper .toggle-password:hover {
    opacity: 1;
}

.fb-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: auto;
    margin: 0 auto;
    font-family: 'Noto Sans', sans-serif;
}

.fb-disabled img {
    max-width: 3.125rem;
    height: auto;
}

.fb-disabled span {
    padding-left: 0.8vh;
    font-size: 1.35vh;
    font-weight: bold;
    color: #431aa2;
}

.fb-disabled .red {
    color: red;
    text-decoration: underline;
    margin: 0;
    padding: 0;
}

.errorText {
    font-family: 'Noto Sans', sans-serif;
    font-size: 1.35vh;
    text-align: left;
    color: red;
    position: absolute;
}

.popupLogin #serverError {
    top: 45%;
}

.popupRegister #serverError {
    top: 33.5%;
}

#popupFullContainer:has(.welcomeOffer) #serverError {
    top: 37.5%;
}

.errorText.usernameErrorRegister {
    position: absolute;
    width: 90%;
    height: 0;
    top: 51%;
    left: 5%;
}

#popupFullContainer:has(.welcomeOffer) .errorText.usernameErrorRegister {
    top: 54%;
}

.errorText.emailError {
    position: absolute;
    width: 90%;
    height: 0;
    top: 60%;
    left: 6%;
}

.popupClassic .errorText.emailError {
    top: 60%;
}

.errorText.emailErrorRegister {
    position: absolute;
    width: 90%;
    height: 0;
    top: 64.5%;
    left: 5%;
}

#popupFullContainer:has(.welcomeOffer) .errorText.emailErrorRegister {
    top: 68.5%;
}

.errorText.emailErrorFPW,
.errorText.emailErrorFD {
    position: absolute;
    width: 90%;
    height: 0;
    top: 72%;
    left: 6%;
}

#emailError.errorText.emailErrorFPW {
    top: 52.5%;
}

#emailError.errorText.emailErrorFPW.emailOnly {
    top: 62%;
}

.popupForgotDetails .errorText.emailErrorFD,
.popupForgotDetails .errorText.serverErrorFD {
    top: 52%;
}

.popupForgotDetails:has(.forgotDetailsBody #extId) .errorText.emailErrorFD,
.popupForgotDetails:has(.forgotDetailsBody #extId) .errorText.serverErrorFD {
    top: 67%;
}

.popupForgotDetailsCode .errorText.emailErrorFPW,
.popupForgotDetailsCode .errorText.emailErrorFD {
    top: 31%;
    left: 1%;
}

.errorText.passwordError {
    position: absolute;
    width: 90%;
    height: 0;
    top: 71.5%;
    left: 6%;
}

.popupClassic .errorText.passwordError {
    top: 71.5%;
}

.errorText.passwordErrorRegister {
    position: absolute;
    width: 90%;
    height: 0;
    top: 75.5%;
    left: 5%;
}

#popupFullContainer:has(.welcomeOffer) .errorText.passwordErrorRegister {
    top: 81%;
}

.errorText.serverError {
    position: absolute;
    height: 0;
    top: 78%;
    left: 0;
    width: 100%;
    text-align: center;
}

.errorText.serverErrorRegister {
    position: absolute;
    height: 0;
    top: 78.25%;
    width: 100%;
    text-align: center;
}

#popupFullContainer:has(.welcomeOffer) .errorText.serverErrorRegister {
    top: 83.75%;
}

.errorText.serverErrorFPW,
.errorText.serverErrorFD {
    position: absolute;
    top: 73%;
    width: 90%;
    text-align: center;
}

.popupForgotDetailsCode .errorText.serverErrorFPW,
.popupForgotDetailsCode .errorText.serverErrorFD {
    top: 73%;
}

#codeError {
    position: relative;
    height: 0;
    top: 26%;
}

.registerButtonPopup {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff7b1b;
    width: 100%;
    height: 5.5vh;
    border-radius: 6.25vh;
    margin: 1.25vh;
}

.registerButtonPopup.disabled {
    width: 5.5vh;
}

.registerButtonPopup:hover {
    background-color: #ff9243;
    cursor: pointer;
}

.signInButtonPopup {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff7b1b;
    height: 5vh;
    width: 100%;
    border-radius: 6.25vh;
}

.signInButtonPopup.disabled {
    width: 5.5vh;
}

.signInButtonPopup:hover {
    background-color: #ff9243;
    cursor: pointer;
}

.buttonPopupOuterContainer {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 4.5vh;
    margin: 1.25vh;
}

.fbEnabled .buttonPopupOuterContainer {
    /* note: this is very outdated, will need to be revised if we ever enable facebook */
    height: 6.9vh;
    margin: 1vh;
}

.buttonPopup {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 6.25vh;
    overflow: hidden;
    max-height: 100%;
}

.appleButtonPopup,
.facebookButtonPopup,
.emailButtonPopup {
    height: 100%;
}

.googleButtonPopup .googleButtonPopupContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    max-height: 100%;
}

.googleButtonPopup #googleButtonPopupLogin,
.googleButtonPopup #googleButtonPopupRegister {
    /* these let it center */
    height: auto !important;
    width: auto !important;
}

.buttonPopup .buttonTextWhite {
    padding-left: 2vh; /* offset for icon, to match google */
}

.emailButtonPopup {
    background-color: #ff7b1b;
}

.emailButtonPopup.disabled {
    width: 5.5vh;
}

.emailButtonPopup:hover {
    background-color: #ff9243;
    cursor: pointer;
}

.googleButtonPopup {
    background-color: #fff;
    border-style: solid;
    border-width: 0.1vh;
    border-color: #baadff;
}

.googleButtonPopup.disabled {
    width: 5.5vh;
}

.googleButtonPopup .buttonTextWhite {
    color: #353c43;
}

.appleButtonPopup {
    background-color: #fff;
    border-style: solid;
    border-width: 0.1vh;
    border-color: #baadff;
}

.fbEnabled .appleButtonPopup {
    height: 6.9vh;
    margin: 1vh;
}

.appleButtonPopup .buttonTextWhite {
    color: #353c43;
}

.appleButtonPopup.disabled {
    width: 5.5vh;
}

.appleButtonPopup:hover {
    background-color: #fbfbfb;
    cursor: pointer;
}

.facebookButtonPopupOuterContainer {
    display: none;
}

.fbEnabled .facebookButtonPopupOuterContainer {
    display: flex;
}

.facebookButtonPopup {
    display: none;
    background-color: #1877f2;
}

.facebookButtonPopup.disabled {
    width: 5.5vh;
}

.facebookButtonPopup:hover {
    background-color: #338cff;
    cursor: pointer;
}

.fbEnabled .facebookButtonPopup {
    display: flex;
}

.timeoutButtonPopup {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff7b1b;
    width: 90%;
    height: 5.5vh;
    border-radius: 6.25vh;
    margin: 1.25vh;
}

.timeoutButtonPopup.disabled {
    width: 5.5vh;
}

.timeoutButtonPopup:hover {
    background-color: #ff9243;
    cursor: pointer;
}

.close,
.back {
    position: absolute;
    height: 0;
    top: -6%;
    left: 90%;
}

.back {
    left: -6%;
}

.close:hover,
.back:hover {
    cursor: pointer;
}

#closeButton,
#backButton {
    width: 8vh;
}

#questionButton {
    width: 1.65vh;
    margin-left: 0.15vh;
    margin-top: -0.5vh;
}

#emailIcon,
#facebookIcon,
#appleIcon,
#googleIcon {
    height: 3.25vh;
    position: absolute;
    left: 0.5rem;
    user-select: none;
}

#emailIcon {
    height: 2.7vh;
}

.lbv #emailIcon {
    content: url('../images/popups/lbv-email.png');
}

#popupContainer .processAnim {
    position: relative;
    width: 4vh;
    height: 4vh;
    display: none;
}

#popupContainer .processAnim img {
    width: 4vh;
    height: 4vh;
}

/* Tooltip CSS */
.infoUsername,
.infoPassword {
    display: inline;
    position: relative;
}

.infoUsernameTooltip,
.infoPasswordTooltip {
    visibility: hidden;
    width: 22vh;
    background-color: #fbfcff;
    color: #431aa2;
    border-radius: 2vh;
    padding: 1vh;
    text-align: center;
    box-shadow: 0 0.0625rem 0.0625rem 0.0625rem #a19cbd42;

    /* Position the tooltip */
    position: absolute;
    z-index: 3;
    top: calc(100% + -0.0625rem);
    left: 50%;
    margin-left: -2vh;
}

/* Add the arrow */
.infoUsernameTooltip::after,
.infoPasswordTooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 2vh;
    margin-left: -0.3125rem;
    border-width: 0.3125rem;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

.infoUsernameTooltip.visible,
.infoPasswordTooltip.visible {
    visibility: visible;
    z-index: 3;
}

/*End Tooltip CSS */

/* Check Mark CSS */
#overlay-container #checkContainer {
    display: block;
    height: 3vh;
    width: 3vh;
    position: relative;
    left: 2%;
}

#overlay-container .container {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 1.375rem;
    padding: 0;
}

#overlay-container .container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

#overlay-container .checkmark {
    position: absolute;
    top: -10%;
    left: 0;
    height: 2vh;
    width: 2vh;
    border: 0.3vh solid #270663;
    border-radius: 0.5vh;
}

#overlay-container .container:hover input ~ .checkmark {
    background-color: #ffffff00;
    cursor: pointer;
}

#overlay-container .container input:checked ~ .checkmark {
    background-color: #ffffff00;
}

#overlay-container .checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

#overlay-container .container input:checked ~ .checkmark:after {
    display: block;
}

#overlay-container .container .checkmark:after {
    left: 43%;
    top: -43%;
    width: 35%;
    height: 100%;
    border: solid #270663;
    border-width: 0 0.5vh 0.5vh 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*End Check Mark CSS */

.textButton:hover {
    cursor: pointer;
}

#geoblock-error-icon {
    height: 40%;
    margin-bottom: 3%;
}

#geoblock-error-title {
    font-family: 'Noto Sans', sans-serif;
    font-size: 4.5vw;
    font-weight: 600;
    text-align: center;
    color: #270663;
    user-select: none;
    white-space: nowrap;
    width: 90%;
    height: 10%;
}

#geoblock-error-message {
    font-family: 'Noto Sans', sans-serif;
    font-size: 3.15vw;
    font-weight: 600;
    text-align: center;
    color: #270663;
    user-select: none;
    width: 90%;
    height: 15%;
}

.geoblock-error-cta-button {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff5c14;
    width: 85%;
    height: 9vw;
    border-radius: 6.25vw;
    margin: 5%;
    box-shadow:
        0 0.1875rem 0 0 #d72902,
        0 0.1875rem 0 0.1875rem #5524b8,
        0 0 0 0.1875rem #5524b8;
}

.geoblock-error-cta-button:hover {
    background-color: #ff7d44;
    cursor: pointer;
}

#closeGeoblock {
    top: -10%;
}

.timeout-confirm-button {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff5c14;
    width: 85%;
    height: 9vw;
    border-radius: 6.25vw;
    margin: 5%;
    box-shadow:
        0 0.1875rem 0 0 #d72902,
        0 0.1875rem 0 0.1875rem #5524b8,
        0 0 0 0.1875rem #5524b8;
}

/**
 * Copy over some stuff from top-bar.css, for the overlay container
 */
.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Web browsers that does not support RGBa */
    background: rgb(0, 0, 0);
    /* IE9/FF/chrome/safari supported */
    background: rgba(0, 0, 0, 0.9);
    /* IE 8 suppoerted */
    /* Here some time problem for Hover than you can use background color/image */
    -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000, endColorstr=#88000000)';
    display: none;
    z-index: 11;
}

#overlay-container-foreground {
    z-index: 12;
}

/* Pre-existing Account Popup Class */
.popupPreexistingAccount #popupSmallBlank {
    height: 33vh;
    width: 51vh;
    background: white;
    border-radius: 2vh;
    border-style: none;
}

#popupPreexistingAccountHeader,
#popupPreexistingAccountText {
    margin: 0 2rem;
    margin-top: 2rem;
}

#popupPreexistingAccountText {
    margin-top: 1rem;
    font-size: 2.25vh;
}

#popupPreexistingAccountButton {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background-color: #ff7b1b;
    width: 100%;
    height: 5.5vh;
    border-radius: 6.25vh;
    margin: 1.25vh;
}

/* LBV theming: */
.lbv .toggle-password {
    content: url('../images/popups/icon-eye.svg');
}

.lbv #popupLarge {
    background: #343d46;
    border-style: none;
}

.lbv #popupLargeButtons {
    background: #343d46;
    border-radius: 2vh;
    border-style: none;
}

.lbv #popupSmall {
    background: #343d46;
    border-style: none;
}

.lbv #popupSmallTimeout {
    background-image: none;
    background-color: rgb(52, 61, 70);
    border-style: none;
}

.lbv #popupSmallBlank {
    background-image: none;
    background-color: rgb(52, 61, 70);
    border-style: none;
}

.lbv .popupFooterMultiAccount {
    background: #343d46;
    border-style: none;
}

.popupWelcome {
    background-image: url('../images/popups/reset-link-bg.png');
}

.lbv .popupWelcome {
    background-image: unset;
}

.lbv .footerContainer {
    background: #454f59;
    width: 100%;
}

.lbv .logoContainer img {
    content: url('../images/popups/lbv-logo.png');
}

.lbv .headerText {
    color: #ffffff;
}

.lbv .bodyText {
    color: #ffffff;
}

.lbv .bodyTextCentered {
    color: #ffffff;
}

.lbv .accountLimitText {
    color: #f27b6e;
}

.lbv .timeoutTextLarge {
    color: white;
}

.lbv .timeoutTextSmall {
    color: white;
}

.lbv .footerTextCentered {
    color: #f27b6e;
}

.lbv .footerText:hover {
    background-color: unset !important;
}

.lbv .textEntry {
    background-color: #22272c;
    color: #ffffff;
    box-shadow: none;
}

.lbv .textEntryUsername {
    background-color: #22272c;
    color: #ffffff;
}

.lbv input::placeholder {
    color: #ffffff;
    opacity: 0.5;
}

.lbv input:focus {
    outline: none !important;
    border-color: none;
    box-shadow: none;
}

.lbv input:-webkit-autofill,
.lbv input:-webkit-autofill:hover,
.lbv input:-webkit-autofill:focus,
.lbv input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 6vh #22272c inset !important;
}

.lbv .errorText {
    color: #f27b6e;
}

.lbv .signInButtonPopup {
    margin-top: 0;
    background-color: #efb433;
}

.lbv .signInButtonPopup:hover {
    background-color: #f1bb47;
}

.lbv .emailButtonPopup {
    background-color: #efb433;
}

.lbv .emailButtonPopup:hover {
    background-color: #f1bb47;
}

.lbv .timeoutButtonPopup {
    background-color: #efb433;
}

.lbv .timeoutButtonPopup:hover {
    background-color: #f1bb47;
}

.lbv .close img {
    content: url('../images/popups/lbv-close.png');
}

.lbv .back img {
    content: url('../images/popups/lbv-back.png');
}

.lbv #popupContainer .processAnim {
    content: url('../images/popups/lbv-loading.gif');
}

.lbv #popupContainer .appleButtonPopup .processAnim,
.lbv #popupContainer .googleButtonPopup .processAnim {
    content: url('../images/popups/lbv-loading-google.gif');
}

.lbv .infoUsername img,
.lbv .infoPassword img {
    content: url('../images/popups/lbv-question.png');
}

.lbv .infoUsernameTooltip,
.lbv .infoPasswordTooltip {
    background-color: #454f59;
    color: #ffffff;
}

.lbv .infoUsernameTooltip::after,
.lbv .infoPasswordTooltip::after {
    border-color: transparent transparent #454f59 transparent;
}

.lbv .checkmark {
    border-color: #ffffff !important;
}

.lbv .checkmark:after {
    border-color: #ffffff !important;
}

.lbv .popupPreexistingAccount #popupSmallBlank {
    height: 33vh;
    width: 51vh;
    background: #343d46;
    border-radius: 2vh;
    border-style: none;
}

.lbv #popupPreexistingAccountButton {
    background-color: #efb433;
}

.loginDivider {
    display: flex;
    align-items: center;
    opacity: 0.6;
    color: #431aa2;
    font-size: 1.25vh;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    padding-top: 1.05vh;
}

.loginDivider::before,
.loginDivider::after {
    content: '';
    display: block;
    width: 5.5vh;
    height: 0.08vh;
    background-color: #8c77ff;
    opacity: 0.3;
    margin: 0 0.6vh;
}

.lbv .loginDivider {
    color: white;
}

.lbv .loginDivider::before,
.lbv .loginDivider::after {
    background-color: white;
}

.bodyText.forgotText {
    text-align: center;
    margin-top: 1.25vh;
    margin-bottom: 1.25vh;
}

.popupForgotDetailsCode .forgotDetailsCodeResendWrap .bodyText {
    text-align: center;
    margin-top: 0.75rem;
}

.popupForgotDetailsWelcome .forgotDetailsHeader .bodyText,
.popupForgotDetails .forgotDetailsHeader .bodyText,
.popupForgotDetails .popupBody .bodyText .popupForgotPassword .forgotPWHeader .bodyText,
.popupForgotPassword .popupContainerSmall .popupBody .bodyText {
    text-align: center;
}

.forgotPassword,
.forgotUserEmail {
    white-space: nowrap;
}

.forgotPasswordSuccessImage {
    margin-top: 1vh;
    margin-bottom: -2vh;
    height: 25vh;
}

.h5c .popupForgotPassword.forgotPasswordViaEmail .forgotPasswordSuccessImage {
    content: url('../images/popups/h5c-success-email.png');
}

.h5c .popupForgotPassword.forgotPasswordViaSMS .forgotPasswordSuccessImage {
    content: url('../images/popups/h5c-success-sms.png');
}

.lbv .popupForgotPassword.forgotPasswordViaEmail .forgotPasswordSuccessImage {
    content: url('../images/popups/lbv-success-email.png');
}

.lbv .popupForgotPassword.forgotPasswordViaSMS .forgotPasswordSuccessImage {
    content: url('../images/popups/lbv-success-sms.png');
}

.popupLogin #popupLarge {
    display: block !important;
}

.welcomeOffer {
    width: 100%;
    max-width: 50vh;
    text-align: center;
    margin-bottom: -0.75rem;
    border-radius: 0.625rem;
    padding: 0.125rem;
    background: linear-gradient(to bottom, #edf4ff 69%, #8cb1f4 128%);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    z-index: -1;
    transform: translateZ(-1px);
}

.lbv .welcomeOffer {
    padding: 0;
}

#popupFullContainer:has(.welcomeOffer) {
    flex-direction: column;
    transform-style: preserve-3d;
}

#popupFullContainer:has(.welcomeOffer) .close,
#popupFullContainer:has(.welcomeOffer) .back {
    top: -28%;
}

.welcomeOfferImage {
    position: relative;
    width: 100%;
}

.welcomeOfferImage img {
    width: 100%;
    aspect-ratio: 7 / 2;
    display: block;
    object-fit: cover;
    border-radius: 0.625rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.welcomeOfferOverlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 2;
    color: white;
}

.welcomeOfferTitle {
    font-size: 1.85vh;
    font-weight: bold;
}

.welcomeOfferCopy {
    flex: 1;
    font-weight: 900;
    font-size: 3.25vh;
    text-align: left;
    text-shadow: 0 0 0.125rem #25056b;
}

.welcomeOfferHeaderLine {
    white-space: nowrap;
}

.welcomeOfferGreen {
    color: #17ff7f;
}

.welcomeOfferYellow {
    color: #ffe200;
}

.welcomeOfferBonus {
    font-size: 1.8vh;
    font-weight: bold;
    margin-top: -0.15rem;
}

.welcomeOfferDisclaimer {
    margin-top: 1.25vh;
    font-size: 0.688rem;
    font-weight: 500;
    text-align: left;
}

.sign-up-offer-text-large {
    font-size: 1rem;
    font-weight: bold;
    padding-top: 0.25rem;
}

.sign-up-offer-text-medium {
    font-size: 0.75rem;
    font-weight: bold;
    padding-top: 0.25rem;
}

.sign-up-offer-text-small {
    font-size: 1vh;
    font-weight: 700;
}

.free-spins-bottom {
    text-align: left;
}

.welcomeOfferFreeSpinsWrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.welcomeOfferGameThumbnail {
    width: 9.5vh !important;
    height: 9.5vh !important;
    object-fit: cover;
    border-radius: 0.625rem !important;
    display: block;
    flex-shrink: 0;
}

.referrer {
    font-size: 1.2vh;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    text-shadow: 0 0 0.125rem #14171a;
    text-align: left;
    margin-top: 0.188rem;
    margin-bottom: -0.313rem;
}

.phone-country-dropdown.dropdown {
    align-items: center;
    background: #fff;
    border: 0.0625rem solid #8c77ff52;
    border-radius: 0.625rem;
    display: flex;
    flex-direction: row;
    height: 2.75vh;
    margin: 0;
    margin-top: 0.5rem;
    width: 100%;
    z-index: 1;
}

.lbv .phone-country-dropdown.dropdown {
    background: #22272c;
    border-color: #22272c;
}

.dropdown .dropdown-btn {
    align-items: center;
    background-color: #431aa2;
    border: none;
    border-bottom-left-radius: 0.625rem;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0.625rem;
    border-top-right-radius: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-size: 0.75rem;
    height: 3.5vh;
    justify-content: space-between;
    width: 9vh;
    padding: 0.5rem;
}

.lbv .dropdown .dropdown-btn {
    background-color: #454f59;
}

.dropdown .dropdown-btn .country-code {
    font-size: 1rem;
    position: relative;
    left: 0.5rem;
    font-size: 1.75vh;
}

.dropdown .flag {
    flex-shrink: 0;
    font-size: 2.25vh;
}

.dropdown .item-flag {
    flex-shrink: 0;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.dropdown .arrow-down {
    filter: brightness(0) invert(1);
}

.dropdown .number-input {
    background-color: #fff !important;
    border: none;
    border-radius: 0 0.625rem 0.625rem 0;
    color: #431aa2;
    display: flex;
    font-size: 1.75vh;
    width: 100%;
    margin-bottom: 0;
}

.lbv .dropdown .number-input {
    background-color: #22272c !important;
    color: #ffffff !important;
}

.dropdown .dropdown-content {
    background-color: #fbfcff;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 0 0 0.625rem 0.3125rem #00000012;
    height: 20rem;
    left: 5%;
    overflow: auto;
    position: absolute;
    top: 52%;
    width: 90%;
}

.lbv .dropdown .dropdown-content {
    background-color: #22272c;
    color: white;
}

.popupForgotPassword .dropdown .dropdown-content {
    top: 71%;
}

.dropdown .dropdown-content .item {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    font-weight: 700;
    padding: 0.3125rem;
}

/** mobile phone display settings **/
@media all and (max-width: 47.9375rem) {
    .welcomeOffer {
        position: relative;
        bottom: 10vh;
    }
    .welcomeOfferCopy {
        font-size: 1.25rem;
    }
    .welcomeOfferTitle,
    .referrer {
        font-size: 0.625rem;
    }
    .welcomeOfferBonus {
        font-size: 0.75rem;
    }
    .sign-up-offer-text-small {
        font-size: 0.625rem;
    }
    .welcomeOfferGameThumbnail {
        height: 4rem !important;
        width: 4rem !important;
    }

    #popupFullContainer {
        position: absolute;
        top: 40vh;
        left: 5%;
        transform: translateY(-40%);
        width: 90vw;
        height: 160vw;
        margin: 0 auto;
        padding: 0;
        background: linear-gradient(180deg, rgba(237, 244, 255, 1) 45%, rgba(195, 212, 241, 1) 100%);
        border-radius: 3vw;
        border-style: solid;
        border-width: 0.75vw;
        border-color: #9b95ea;
    }

    .popupForgotPassword#popupFullContainer,
    .popupForgotDetails#popupFullContainer,
    .popupForgotDetailsCode#popupFullContainer,
    .popupForgotDetailsWelcome#popupFullContainer,
    .popupForgotDetailsWelcomeCode#popupFullContainer {
        height: 110vw;
    }

    #popupFullContainer:has(.welcomeOffer) {
        height: 145vw;
    }

    .popupForgotDetailsWelcome {
        height: 110vw !important;
    }

    #popupFullContainer:has(.welcomeOffer) {
        top: 48%;
    }

    #popupFullContainer:has(.popupLogin) {
        top: 45vh;
    }

    .lbv #popupFullContainer {
        background-image: none;
        background-color: rgb(52, 61, 70);
        border-style: solid;
        border-color: rgb(52, 61, 70);
    }

    .lbv .welcomeOffer {
        width: 101%;
    }

    .lbv #popupLargeButtons {
        background: none;
    }

    .lbv .popupRegister .popupFooterMultiAccount {
        width: 100%;
        border-style: solid;
        border-color: rgb(52, 61, 70);
    }

    #popupFullContainer.popupTimeout {
        height: 55vw;
    }

    #popupLarge {
        height: 100%;
        width: 100%;
        background: none;
        border: none;
    }

    #popupLargeButtons {
        height: 100%;
        width: 100%;
        background: none;
        border: none;
        padding-bottom: 2.5vh;
    }

    #popupSmall {
        height: 100%;
        width: 100%;
        background: none;
        border: none;
    }

    #popupSmallTimeout {
        height: 100%;
        width: 90%;
        margin-left: 4%;
        background: none;
        border: none;
    }

    #popupSmallBlank {
        height: 100%;
        width: 100%;
        background: none;
        border: none;
    }

    #popupContainer {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        position: inherit;
    }

    .popupSignInButtons {
        margin-top: 3%;
        height: 100%;
        width: 100%;
    }

    .popupSignInEmail {
        position: relative;
        margin-top: 10%;
        height: 90%;
        width: 100%;
    }

    .popupRegisterButtons {
        height: 100%;
        width: 100%;
    }

    .popupContainerLarge {
        height: 100%;
        width: 100%;
    }

    .popupContainerMedium {
        height: 80%;
        width: 100%;
        margin-top: 30%;
    }

    .popupContainerSmall {
        height: 100%;
        width: 100%;
    }

    .popupContainerSmallBlank {
        height: 100%;
        width: 100%;
    }

    .popupHeader {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        width: 70%;
    }

    .popupForgotPassword > * .popupHeader {
        align-items: center;
    }

    .popupForgotDetails > * .popupHeader {
        align-items: center;
    }

    .popupForgotDetailsCode > * .popupHeader {
        align-items: center;
    }

    .popupForgotDetailsWelcome > * .popupHeader {
        align-items: center;
    }

    .popupBody {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        height: 60%;
        width: 90%;
    }

    .popupRegisterEmail .popupBody {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        height: 33vh;
        width: 90%;
    }

    .popupClassic .popupRegisterEmail .popupBody {
        height: 30vh;
    }

    .popupSignInEmail .popupBody {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        height: 50%;
        width: 100%;
        margin-top: 4%;
    }

    .popupSubBody {
        display: flex;
        flex-flow: row nowrap;
        width: 100%;
        height: 11%;
        justify-content: space-between;
        padding: 1.5vw;
    }

    .bodyText.forgotText {
        margin-bottom: 0;
    }

    .popupFooter {
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        width: 90%;
    }

    .loginDivider {
        padding-top: 0.75rem !important;
        font-size: 0.75rem;
    }

    .popupFooterMultiAccount {
        display: flex;
        flex-flow: row wrap;
        align-items: baseline;
        justify-content: center;
        position: absolute;
        bottom: 8.25%;
        width: 100%;
        height: 14%;
        background: linear-gradient(180deg, rgb(198 214 242) 45%, rgba(195, 212, 241, 1) 100%);
        border-radius: 0 0 3vw 3vw;
        border-style: solid;
        border-width: 0 0.75vw 0.75vw 0.75vw;
        border-color: #9b95ea;
    }

    .popupRegister .popupFooterMultiAccount {
        bottom: -2.25%;
    }

    .popupRegisterButtons > .popupFooter {
        top: 16%;
    }

    .fbEnabled .popupRegisterButtons > .popupFooter {
        top: 20%;
    }

    .footerContainer {
        bottom: -4%;
        height: 9%;
    }

    .popupRegister .footerContainer {
        height: 9%;
        width: 101.5%;
    }

    .popupRegister.popupClassic .footerContainer {
        bottom: -4%;
    }

    .popupClassic#popupFullContainer:has(.welcomeOffer) .footerContainer {
        bottom: -3%;
    }

    .forgotPWHeader,
    .forgotDetailsHeader {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        width: 89%;
    }

    .forgotPWBody,
    .forgotDetailsBody {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        width: 89%;
        margin-top: 2.5vh;
    }

    .popupForgotDetails .forgotDetailsBody {
        margin-bottom: -1.25vh;
    }

    .popupForgotDetailsCode .forgotDetailsBody,
    .popupForgotDetailsWelcome .forgotDetailsBody {
        margin-top: 0;
    }

    .forgotPWFooter,
    .forgotDetailsFooter {
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
        width: 89%;
        margin-top: 2.2vh;
    }

    #forgotPWFooter,
    #forgotDetailsFooter {
        height: 26%;
    }

    #forgotPWContinue,
    #forgotDetailsContinue {
        position: relative;
        top: -10%;
        height: 25%;
        width: 89%;
    }

    #signInEmail {
        top: 73%;
        width: 100%;
        margin-top: 3%;
    }

    .popupRegister #signInEmail {
        width: 90%;
        margin-left: 1rem;
        margin-right: 1rem;
        margin-top: 0;
    }

    .popupClassic .popupRegister #signInEmail {
        margin-top: 0.25rem;
    }

    .popupRegister .textEntryUsername {
        margin-bottom: 3.5vh;
    }

    #signInSocial {
        justify-content: center;
    }

    #or {
        margin-top: 2.5vw;
        font-size: 3.75vw;
    }

    .logoContainer {
        position: absolute;
        top: 2%;
        width: 100%;
        height: 11%;
        text-align: center;
    }

    .logoContainer img {
        height: 80%;
    }

    .popupSignInButtons #headerTextPosition {
        top: 12%;
    }

    .fbEnabled .popupRegisterButtons #headerTextPosition,
    .fbEnabled .popupSignInButtons #headerTextPosition {
        top: 14%;
    }

    .popupRegisterButtons #subtitleA,
    .popupSignInButtons #subtitleA {
        position: absolute;
        margin-top: -95%;
    }

    .popupSignInButtons .popupFooter {
        margin-top: 40%;
    }

    .popupRegisterButtons .popupFooter {
        margin-top: 32%;
    }

    .fbEnabled .popupRegisterButtons .popupFooter,
    .fbEnabled .popupSignInButtons .popupFooter {
        margin-top: 1%;
    }

    #popupFullContainer:has(.welcomeOffer) .popupRegisterButtons .popupFooter {
        margin-top: 0;
    }

    .headerText {
        font-family: 'Noto Sans', sans-serif;
        font-size: 4.25vw;
        font-weight: 700;
        text-align: center;
        color: #431aa2;
        user-select: none;
        white-space: nowrap;
    }

    #headerTextPosition {
        position: absolute;
        top: 5%;
        width: 85%;
        justify-content: center;
        align-items: center;
        height: initial;
    }

    .popupRegisterButtons #headerTextPosition {
        top: 11%;
    }

    .lbv .registerHeaderText {
        top: 0% !important;
    }

    #headerB {
        display: flex;
        width: 85%;
        height: 10%;
        justify-content: center;
        align-items: center;
    }

    #headerFPW,
    #headerFD {
        margin-bottom: 2vh;
    }

    #subtitleA {
        width: 85%;
        text-align: center;
        justify-content: center;
    }

    #rememberMe {
        margin-left: 5.5vw;
        width: 30vw;
    }

    #forgotPassword {
        text-decoration: underline;
        font-weight: bold;
    }

    .bodyText {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.25vw;
        text-align: left;
        color: #431aa2;
        user-select: none;
        width: 100%;
        margin-bottom: 1vw;
    }

    #usernameSubtext {
        position: absolute;
        width: 90%;
        height: 0;
        top: 49.75%;
        left: 6%;
        font-size: 2.75vw;
    }

    #popupFullContainer:has(.welcomeOffer) #usernameSubtext {
        top: 51%;
    }

    .popupClassic #usernameSubtext {
        top: 48.5%;
    }

    .bodyTextCentered {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.25vw;
        color: #431aa2;
        user-select: none;
    }

    .accountLimitText {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.2vw;
        font-weight: 700;
        text-align: center;
        color: #e52b20;
        user-select: none;
    }

    .accountLimitText2 {
        font-family: 'Noto Sans', sans-serif;
        font-size: 1vh;
        font-weight: 700;
        line-height: 1;
        text-align: center;
        color: #e52b20;
        user-select: none;
    }

    #accountLimitTextPosition {
        position: absolute;
        bottom: 22%;
        display: flex;
        width: 90%;
        height: 0;
        justify-content: center;
        align-items: center;
    }

    .fbEnabled #accountLimitTextPosition {
        bottom: 18%;
    }

    .popupClassic .popupRegisterLarge #accountLimitTextPosition {
        bottom: 11%;
    }

    .popupClassic:has(.welcomeOffer) .popupRegisterLarge #accountLimitTextPosition {
        bottom: 13%;
    }

    #accountLimitTextPosition2 {
        position: absolute;
        bottom: 15%;
        display: flex;
        width: 90%;
        height: 0;
        justify-content: center;
        align-items: center;
    }

    .popupClassic .popupRegisterLarge #accountLimitTextPosition2 {
        bottom: 7%;
    }

    .popupClassic:has(.welcomeOffer) .popupRegisterLarge #accountLimitTextPosition2 {
        bottom: 8%;
    }

    .timeoutTextLarge {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.75vw;
        font-weight: bold;
        text-align: center;
        color: #431aa2;
        user-select: none;
        margin-bottom: 5%;
    }

    .timeoutTextSmall {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.75vw;
        font-weight: 500;
        text-align: center;
        color: #431aa2;
        user-select: none;
        margin-bottom: 5%;
    }

    .footerText {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.25vw;
        font-weight: bold;
        text-align: center;
        color: #ffffff;
        user-select: none;
        margin-bottom: 1vw;
    }

    .footerTextCentered {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3vw;
        font-weight: bold;
        text-align: center;
        color: #e52b20;
        user-select: none;
        width: 85%;
        margin-top: 2%;
    }

    .buttonTextWhite {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3vw;
        font-weight: 600;
        text-align: left;
        color: #fff;
        user-select: none;
        white-space: nowrap;
    }

    .lbv .popupLogin .footerContainer {
        width: 101.5%;
    }

    .textEntry {
        border: none;
        width: 92% !important;
        border-radius: 2.5vw;
        font-family: 'Noto Sans', sans-serif;
        font-size: 2.75vw;
        color: #431aa2;
        margin-bottom: 4.75vw;
        white-space: nowrap;
        background-color: #ffffff;
        box-shadow: 0 0 0 0.0625rem #dad3ff;
    }

    .textEntryUsername {
        border: none;
        width: 94%;
        border-radius: 2.5vw;
        font-family: 'Noto Sans', sans-serif;
        font-size: 2.75vw;
        color: #431aa2;
        margin-bottom: 8.75vw;
        white-space: nowrap;
        background-color: #ffffff;
        box-shadow: 0 0 0 0.0625rem #dad3ff;
    }

    input::placeholder {
        color: #a18cd0;
    }

    input:focus {
        outline: none !important;
        border-color: #dad3ff;
        box-shadow: 0 0 0.5rem #dad3ff;
    }

    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 8vw #ffff inset !important;
    }

    input:-webkit-autofill {
        -webkit-text-fill-color: #431aa2 !important;
    }

    .fb-disabled {
        position: absolute;
        top: 72%;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90%;
        height: auto;
        margin: 0 auto;
        font-family: 'Noto Sans', sans-serif;
    }

    .fb-disabled img {
        max-width: 3.125rem;
        height: auto;
    }

    .fb-disabled span {
        padding-left: 0.625rem;
        font-size: 2.25vw;
        font-weight: bold;
        color: #431aa2;
        user-select: none;
    }

    .fb-disabled .red {
        color: red;
        text-decoration: underline;
        margin: 0;
        padding: 0;
    }

    .errorText {
        font-family: 'Noto Sans', sans-serif;
        font-size: 2.75vw;
        text-align: left;
        color: red;
        z-index: 3;
    }

    .popupLogin #serverError {
        top: 41%;
    }

    .popupRegister #serverError {
        top: 32%;
    }

    #popupFullContainer:has(.welcomeOffer) #serverError {
        top: 33.5%;
    }

    .errorText.usernameErrorRegister {
        position: relative;
        width: 90%;
        height: 0;
        top: 20%;
        left: 6%;
        line-height: 1;
    }

    #popupFullContainer:has(.welcomeOffer) .errorText.usernameErrorRegister {
        top: 20%;
    }

    .popupClassic .errorText.usernameErrorRegister {
        top: 17%;
    }

    .errorText.emailError {
        position: absolute;
        width: 90%;
        height: 0;
        top: 23%;
        left: 2%;
    }

    .popupClassic .errorText.emailError {
        top: 23%;
    }

    .errorText.emailErrorRegister {
        position: relative;
        width: 90%;
        height: 0;
        top: 44%;
        left: 6%;
    }

    #popupFullContainer:has(.welcomeOffer) .errorText.emailErrorRegister {
        top: 48%;
    }

    .popupClassic .errorText.emailErrorRegister {
        top: 40.5%;
    }

    .errorText.emailErrorFPW,
    .errorText.emailErrorFD {
        position: relative;
        width: 89%;
        height: 0;
        top: 43%;
        left: 0%;
    }

    #emailError.errorText.emailErrorFPW {
        top: 23%;
    }

    .popupForgotDetails:has(.forgotDetailsBody #extId) .errorText.emailErrorFD,
    .popupForgotDetails:has(.forgotDetailsBody #extId) .errorText.serverErrorFD {
        top: 46%;
    }

    #emailError.errorText.emailErrorFPW.emailOnly {
        top: 34%;
    }

    .popupForgotDetailsCode .errorText.emailErrorFPW,
    .popupForgotDetailsCode .errorText.emailErrorFD {
        top: 26% !important;
    }

    #phoneError {
        top: 35%;
    }

    #phoneError.emailErrorForgotPW,
    #phoneError.emailErrorFD {
        top: 74%;
    }

    .errorText.passwordError {
        position: absolute;
        width: 90%;
        height: 0;
        top: 48.5%;
        left: 2%;
    }

    .popupClassic .errorText.passwordError {
        top: 48.5%;
    }

    .errorText.passwordErrorRegister {
        position: relative;
        width: 90%;
        height: 0;
        top: 65.5%;
        left: 6%;
    }

    .popupClassic .errorText.passwordErrorRegister {
        top: 62%;
    }

    #popupFullContainer:has(.welcomeOffer) .errorText.passwordErrorRegister {
        top: 73.5%;
    }

    #popupFullContainer:has(.welcomeOffer) .close,
    #popupFullContainer:has(.welcomeOffer) .back {
        top: -20%;
    }

    .errorText.serverError {
        position: absolute;
        height: 0;
        top: 60.5%;
        width: 100%;
        text-align: center;
    }

    .errorText.serverErrorRegister {
        position: relative;
        height: 0;
        top: -4.75%;
        width: 100%;
        text-align: center;
    }

    #popupFullContainer:has(.welcomeOffer) .errorText.serverErrorRegister {
        top: -2.25%;
    }

    .popupClassic .errorText.serverErrorRegister {
        top: -3%;
    }

    .errorText.serverErrorFPW,
    .errorText.serverErrorFD {
        position: relative;
        height: 0;
        top: 43%;
        width: 95%;
        text-align: center;
    }

    .popupForgotDetails .errorText.emailErrorFD,
    .popupForgotDetails .errorText.serverErrorFD {
        top: 25%;
    }

    .popupForgotDetailsCode .errorText.serverErrorFPW,
    .popupForgotDetailsCode .errorText.serverErrorFD {
        top: 37%;
    }

    #codeError {
        position: relative;
        height: 0;
        top: 20% !important;
    }

    .registerButtonPopup {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        background-color: #ff7b1b;
        width: 100%;
        height: 9vw;
        border-radius: 6.25vw;
        margin: 2vw;
    }

    .registerButtonPopup.disabled {
        width: 4vh;
    }

    .registerButtonPopup:hover {
        background-color: #ff9243;
        cursor: pointer;
    }

    .signInButtonPopup {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        background-color: #ff7b1b;
        width: 100%;
        border-radius: 6.25vw;
        height: 2.5rem;
    }

    .signInButtonPopup.disabled {
        width: 4vh;
    }

    .signInButtonPopup:hover {
        background-color: #ff9243;
        cursor: pointer;
    }

    .buttonPopupOuterContainer {
        margin: 2vw;
    }

    .buttonPopup {
        width: 100%;
        height: 9vw;
    }

    .emailButtonPopup {
        background-color: #ff7b1b;
    }

    .emailButtonPopup.disabled {
        width: 4vh;
    }

    .emailButtonPopup:hover {
        background-color: #ff9243;
        cursor: pointer;
    }

    .googleButtonPopup {
        border-width: 0.25vw;
    }

    .googleButtonPopup.disabled {
        width: 4vh;
    }

    .googleButtonPopup .buttonTextWhite {
        color: #353c43;
    }

    .appleButtonPopup {
        border-width: 0.25vw;
    }

    .appleButtonPopup .buttonTextWhite {
        color: #353c43;
    }

    .appleButtonPopup.disabled {
        width: 4vh;
    }

    .appleButtonPopup:hover {
        background-color: #fbfbfb;
        cursor: pointer;
    }

    .facebookButtonPopup.disabled {
        width: 4vh;
    }

    .facebookButtonPopup:hover {
        background-color: #338cff;
        cursor: pointer;
    }

    .fbEnabled .facebookButtonPopup {
        display: flex;
    }

    .timeoutButtonPopup {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        background-color: #ff7b1b;
        width: 100%;
        height: 9vw;
        border-radius: 6.25vw;
        margin: 2vw;
    }

    .timeoutButtonPopup.disabled {
        width: 4vh;
    }

    .timeoutButtonPopup:hover {
        background-color: #ff9243;
        cursor: pointer;
    }

    .close,
    .back {
        position: absolute;
        height: 0%;
        top: -3%;
        left: 91%;
    }

    .back {
        left: -6%;
    }

    .popupForgotPassword #popupSmall .close,
    .popupForgotPassword #popupSmallBlank .close,
    .popupForgotPassword #popupSmall .back,
    .popupForgotPassword #popupSmallBlank .back {
        top: -5%;
        left: 92%;
    }

    .popupForgotPassword #popupSmall .back,
    .popupForgotPassword #popupSmallBlank .back {
        left: -6%;
    }

    .lbv .popupRegisterLarge .registerClose {
        top: -10%;
    }

    #closeButton,
    #backButton {
        width: 12vw;
    }

    #questionButton {
        width: 2.75vw;
        margin-left: 0.5vw;
    }

    .lbv .popupRegisterLarge .registerBack {
        top: -10%;
    }

    .back:hover {
        cursor: pointer;
    }

    #backButton {
        width: 12vw;
    }

    #emailIcon,
    #facebookIcon,
    #appleIcon,
    #googleIcon {
        height: 6.25vw;
        left: 0.7rem;
    }

    #emailIcon {
        height: 5.2vw;
    }

    #popupContainer .processAnim {
        position: relative;
        width: 4vh;
        height: 4vh;
        display: none;
    }

    #popupContainer .processAnim img {
        width: 4vh;
        height: 4vh;
    }

    /* Tooltip CSS */
    .infoUsername,
    .infoPassword {
        display: inline;
        position: relative;
    }

    .infoUsernameTooltip,
    .infoPasswordTooltip {
        visibility: hidden;
        width: 40vw;
        background-color: #fbfcff;
        color: #431aa2;
        border-radius: 3vw;
        padding: 2vw;
        text-align: center;
        box-shadow: 0 0.0625rem 0.0625rem 0.0625rem #a19cbd42;
        /* Position the tooltip */
        position: absolute;
        z-index: 1;
        top: calc(100% + 0.1875rem);
        left: 50%;
        margin-left: -4vw;
    }

    /* Add the arrow */
    .infoUsernameTooltip::after,
    .infoPasswordTooltip::after {
        content: '';
        position: absolute;
        bottom: 100%;
        left: 4vw;
        margin-left: -0.3125rem;
        border-width: 0.3125rem;
        border-style: solid;
        border-color: transparent transparent white transparent;
    }

    .infoUsernameTooltip.visible,
    .infoPasswordTooltip.visible {
        visibility: visible;
    }

    /*End Tooltip CSS */
    /* Check Mark CSS */
    #overlay-container #checkContainer {
        display: block;
        height: 3vw;
        width: 3.5vw;
        padding-bottom: 0.5rem;
    }

    #overlay-container .container {
        display: block;
        position: relative;
        cursor: pointer;
        font-size: 1.375rem;
    }

    #overlay-container .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    #overlay-container .checkmark {
        position: absolute;
        top: 0;
        left: 0;
        height: 3vw;
        width: 3vw;
        border: 0.3vh solid #270663;
        border-radius: 0.5vh;
    }

    #overlay-container .container:hover input ~ .checkmark {
        background-color: #ffffff00;
        cursor: pointer;
    }

    #overlay-container .container input:checked ~ .checkmark {
        background-color: #ffffff00;
    }

    #overlay-container .checkmark:after {
        content: '';
        position: absolute;
        display: none;
    }

    #overlay-container .container input:checked ~ .checkmark:after {
        display: block;
    }

    #overlay-container .container .checkmark:after {
        left: 1.35vw;
        top: -1.5vw;
        width: 0.75vw;
        height: 3.25vw;
        border: solid #270663;
        border-width: 0 0.5vh 0.5vh 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /*End Check Mark CSS */
    #geoblock-error-icon {
        height: 40%;
        margin-bottom: 3%;
    }

    #geoblock-error-title {
        font-family: 'Noto Sans', sans-serif;
        font-size: 4.5vw;
        font-weight: 600;
        text-align: center;
        color: #270663;
        user-select: none;
        white-space: nowrap;
        width: 90%;
        height: 10%;
    }

    #geoblock-error-message {
        font-family: 'Noto Sans', sans-serif;
        font-size: 3.15vw;
        font-weight: 600;
        text-align: center;
        color: #270663;
        user-select: none;
        width: 90%;
        height: 15%;
    }

    .geoblock-error-cta-button {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        background-color: #ff5c14;
        width: 85%;
        height: 9vw;
        border-radius: 6.25vw;
        margin: 5%;
        box-shadow:
            0 0.1875rem 0 0 #d72902,
            0 0.1875rem 0 0.1875rem #5524b8,
            0 0 0 0.1875rem #5524b8;
    }

    .geoblock-error-cta-button:hover {
        background-color: #ff7d44;
        cursor: pointer;
    }

    #closeGeoblock {
        top: -10%;
    }

    .textButton:hover {
        cursor: pointer;
    }

    /** * Copy over some stuff from top-bar.css, for the overlay container */
    .overlay-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        /* Web browsers that does not support RGBa */
        background: rgb(0, 0, 0);
        /* IE9/FF/chrome/safari supported */
        background: rgba(0, 0, 0, 0.9);
        /* IE 8 suppoerted */
        /* Here some time problem for Hover than you can use background color/image */
        -ms-filter: 'progid:DXImageTransform.Microsoft.gradient(startColorstr=#88000000, endColorstr=#88000000)';
        display: none;
        z-index: 11;
    }

    #overlay-container-foreground {
        z-index: 12;
    }

    /* Pre-existing Account Popup Class */
    #popupFullContainer.popupPreexistingAccount {
        height: 33vh;
        background: white;
        border-radius: 2vh;
        border-style: none;
    }

    #popupPreexistingAccountHeader,
    #popupPreexistingAccountText {
        text-align: center;
        margin: 0 2rem;
        margin-top: 2rem;
        white-space: wrap;
    }

    #popupPreexistingAccountText {
        margin-top: 1rem;
        font-size: 3.75vw;
    }

    .popupPreexistingAccount .popupFooter {
        position: relative;
        top: 1rem;
        display: flex;
        flex-flow: column nowrap;
        align-items: center;
        width: 90%;
    }

    #popupPreexistingAccountButton {
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        background-color: #ff7b1b;
        width: 100%;
        height: 5.5vh;
        border-radius: 6.25vh;
        margin: 1.25vh;
    }

    .password-wrapper .toggle-password {
        width: 1.75em;
        height: 1.75em;
    }

    #extPassword {
        margin-bottom: 4.75vw;
    }

    .verificationCodeDigits .verificationCodeDigit {
        height: 3.375rem;
    }

    .resendForgotDetailsCodeText {
        font-size: 3.25vw;
    }

    .welcomeBody {
        padding-bottom: 0;
        padding-top: 0;
    }

    .phone-country-dropdown.dropdown {
        height: 2.0625rem;
    }
    .dropdown .dropdown-btn {
        width: 28%;
    }
    .dropdown .dropdown-content {
        top: 67%;
    }
    .popupForgotPassword .dropdown .dropdown-content {
        top: 73%;
    }
    .dropdown .number-input {
        font-size: 2.75vw;
    }
    .dropdown .dropdown-btn {
        height: 100%;
        padding: 0.25rem;
    }
    .dropdown .flag {
        font-size: 1.5em;
    }
    .dropdown .arrow-down {
        max-width: initial;
        position: relative;
        left: 0.25rem;
        height: 100%;
    }
    .dropdown .dropdown-btn .country-code {
        font-size: 2.75vw;
    }
}

/* larger mobile devices */
@media (max-width: 767px) and (min-width: 400px) {
    .popupRegisterEmail .popupBody {
        height: 33vh;
    }
    .errorText.usernameErrorRegister {
        top: 20.5%;
    }
    .errorText.emailErrorRegister {
        top: 45%;
    }
    .errorText.passwordErrorRegister {
        top: 66.5%;
    }
    #popupFullContainer:has(.welcomeOffer) .popupRegisterEmail .popupBody {
        height: 29vh;
    }
    #popupFullContainer:has(.welcomeOffer) #usernameSubtext {
        top: 51%;
    }
    #popupFullContainer:has(.welcomeOffer) .errorText.usernameErrorRegister {
        top: 19.5%;
    }
    #popupFullContainer:has(.welcomeOffer) .errorText.emailErrorRegister {
        top: 48%;
    }
    #popupFullContainer:has(.welcomeOffer) .errorText.passwordErrorRegister {
        top: 73%;
    }
    #popupFullContainer:has(.welcomeOffer) #signInEmail {
        margin-top: 1.3vh;
    }
    .popupClassic .errorText.usernameErrorRegister {
        top: 17%;
    }
    .popupClassic .errorText.passwordErrorRegister {
        top: 62.5%;
    }

    .popupLogin #serverError {
        top: 41%;
    }

    .popupRegister #serverError {
        top: 32%;
    }

    #popupFullContainer:has(.welcomeOffer) #serverError {
        top: 34%;
    }
}

/* Smaller devices where login/signup may have scroll */
@media screen and (max-device-width: 375px) and (max-device-height: 667px),
    screen and (max-width: 400px) and (max-height: 720px) {
    #popupFullContainer.popupRegister #popupContainer {
        box-sizing: border-box;
    }

    #popupFullContainer.popupRegister.popupSweeps:has(.welcomeOffer) #popupContainer {
        justify-content: flex-end;
        padding-bottom: min(16%, 4.25rem);
    }

    #popupFullContainer.popupRegister .popupRegisterEmail {
        height: auto;
        min-height: 0;
        position: relative;
    }

    #popupFullContainer.popupRegister .popupRegisterEmail .popupBody {
        position: relative;
        justify-content: flex-start;
        height: auto;
        min-height: 0;
        max-height: none;
    }

    #popupFullContainer.popupRegister.popupSweeps:has(.welcomeOffer) #usernameSubtext {
        top: 25%;
        left: 1%;
    }

    #popupFullContainer.popupRegister .popupRegister .textEntryUsername {
        margin-bottom: 0.25rem;
    }

    #popupFullContainer.popupRegister .popupRegisterEmail .textEntry {
        padding: 2.5vh;
        width: 100% !important;
    }

    #popupFullContainer.popupRegister .popupRegisterButtons .popupFooter {
        margin-top: 6%;
    }

    #popupFullContainer.popupRegister.popupSweeps:has(.welcomeOffer) .popupRegisterButtons .popupFooter {
        margin-top: 0;
    }

    #popupFullContainer.popupRegister.popupSweeps .popupFooterMultiAccount {
        bottom: 1%;
    }

    #popupFullContainer:has(.welcomeOffer) .popupFullContainer.popupRegister.popupSweeps .popupFooterMultiAccount {
        bottom: 18%;
    }

    #popupFullContainer.popupRegister.popupSweeps:has(.welcomeOffer) .popupFooterMultiAccount {
        bottom: 0;
    }

    #popupFullContainer.popupRegister .footerContainer {
        bottom: -4vh;
    }

    #popupFullContainer.popupRegister .errorText.usernameErrorRegister,
    #popupFullContainer.popupRegister #usernameSubtext {
        top: 9vh;
    }

    #popupFullContainer.popupRegister #usernameSubtext {
        left: 1%;
    }

    #popupFullContainer.popupRegister .errorText.emailErrorRegister {
        top: 20vh;
    }

    #popupFullContainer.popupRegister .errorText.passwordErrorRegister {
        top: 31vh;
    }

    #popupFullContainer.popupRegister .errorText.serverErrorRegister {
        top: 1vh;
    }

    .welcomeOffer {
        bottom: 12.5vh;
        max-width: 55vh;
    }

    .popupLogin #serverError {
        top: 42%;
    }

    .popupRegister #serverError {
        top: 31%;
    }

    #popupFullContainer:has(.welcomeOffer) #serverError {
        top: 31%;
    }
}

/* tiny devices like Galaxy S9+ emulator */
@media screen and (max-width: 360px) and (max-height: 660px) {
    #popupFullContainer:has(.welcomeOffer) {
        height: 160vw;
    }

    .popupLogin #serverError {
        top: 41%;
    }

    .popupRegister #serverError {
        top: 29%;
    }

    #popupFullContainer:has(.welcomeOffer) #serverError {
        top: 31%;
    }
}

/* Galaxy Z Fold 5 emulator */
@media screen and (max-width: 360px) and (min-height: 800px) {
    #popupFullContainer.popupRegister {
        height: 180vw;
    }
    #popupFullContainer:has(.welcomeOffer) {
        height: 170vw;
    }

    .popupLogin #serverError {
        top: 38%;
    }

    .popupRegister #serverError {
        top: 30%;
    }

    #popupFullContainer:has(.welcomeOffer) #serverError {
        top: 31%;
    }
}

/* iPhone 13, 14 (390x663), 15 (393x659) */
@media screen and (min-width: 390px) and (max-width: 399px) and (min-height: 655px) and (max-height: 669px) {
    .iphone #popupFullContainer:has(.welcomeOffer) {
        height: 140vw;
        padding-bottom: 7vh;
        margin-top: 5vh;
    }
    .iphone #popupFullContainer:has(.welcomeOffer) .popupFooter {
        padding-top: 2vh;
    }
    .iphone #usernameSubtext {
        top: 46%;
    }
    .iphone .welcomeOffer {
        bottom: 7vh;
    }

    .iphone .popupRegister #serverError {
        top: 30.5%;
    }
    .iphone #popupFullContainer.popupRegister:has(.welcomeOffer) #serverError {
        top: 29.5%;
    }
}

/* iPhone 16 Pro (402x678 / 402x714) emulator */
@media screen and (min-width: 400px) and (max-width: 410px) and (min-height: 670px) and (max-height: 719px) {
    .iphone #popupFullContainer:has(.welcomeOffer) {
        height: 140vw;
        padding-bottom: 7vh;
        margin-top: 5vh;
    }
    .iphone #popupFullContainer:has(.welcomeOffer) #popupLargeButtons {
        height: 72vw;
    }

    .iphone #popupFullContainer:has(.welcomeOffer) .popupFooter {
        padding-top: 2vh;
    }

    .iphone #popupFullContainer:has(.welcomeOffer) #usernameSubtext {
        top: 49%;
    }
    .iphone #usernameSubtext {
        top: 46%;
    }
    .iphone .welcomeOffer {
        bottom: 23vh;
    }

    .iphone .errorText.usernameErrorRegister {
        top: 17%;
    }
    .iphone .errorText.emailErrorRegister {
        top: 38%;
    }
    .iphone .errorText.passwordErrorRegister {
        top: 58%;
    }
    .iphone #popupFullContainer:has(.welcomeOffer) .errorText.passwordErrorRegister {
        top: 75%;
    }

    .iphone .popupLogin #serverError {
        top: 42.5%;
    }
    .iphone .popupRegister #serverError {
        top: 31.5%;
    }
    .iphone #popupFullContainer.popupRegister:has(.welcomeOffer) #serverError {
        top: 35%;
    }

    /* For Classic Register Popup */
    .iphone .popupRegister.popupClassic .errorText.usernameErrorRegister {
        top: 14%;
    }
    .iphone .popupRegister.popupClassic .errorText.emailErrorRegister {
        top: 35%;
    }    
    .iphone .popupRegister.popupClassic .errorText.passwordErrorRegister {
        top: 55%;
    }
    .iphone .popupRegister.popupClassic .popupFooter .signInButtonPopup.submitButtonPopup {
        margin-top: 3vh;
    }
}

/* iPhone 14 Pro Max (430x739), 16 Pro Max (440x760 / 440x796) emulator */
@media screen and (min-width: 411px) and (max-width: 440px) and (min-height: 720px) and (max-height: 850px) {
    .iphone #popupFullContainer:has(.welcomeOffer) .popupFooter {
        padding-top: 2vh;
    }
    .iphone #popupFullContainer:has(.welcomeOffer) #popupLargeButtons {
        height: 72vw;
    }
    .iphone #usernameSubtext {
        top: 46%;
    }

    .iphone .welcomeOffer {
        bottom: 24vh;
    }
    .iphone .errorText.usernameErrorRegister {
        top: 17%;
    }
    .iphone .errorText.emailErrorRegister {
        top: 38%;
    }
    .iphone .errorText.passwordErrorRegister {
        top: 58%;
    }

    .iphone #popupFullContainer:has(.welcomeOffer) #usernameSubtext {
        top: 53%;
    }
    .iphone #popupFullContainer:has(.welcomeOffer) .errorText.emailErrorRegister {
        top: 49%;
    }
    .iphone #popupFullContainer:has(.welcomeOffer) .errorText.passwordErrorRegister {
        top: 75%;
    }
    .iphone .popupLogin #serverError {
        top: 42.5%;
    }
    .iphone .popupRegister #serverError {
        top: 31.5%;
    }
    .iphone #popupFullContainer.popupRegister:has(.welcomeOffer) #serverError {
        top: 39%;
    }

    /* For Classic Register Popup */
    .iphone .popupRegister.popupClassic .errorText.usernameErrorRegister {
        top: 14%;
    }
    .iphone .popupRegister.popupClassic .errorText.emailErrorRegister {
        top: 35%;
    }    
    .iphone .popupRegister.popupClassic .errorText.passwordErrorRegister {
        top: 55%;
    }
    .iphone .popupRegister.popupClassic .popupFooter .signInButtonPopup.submitButtonPopup {
        margin-top: 3vh;
    }
}
