@import './components/base-input.css';
@import './components/phone-input.css';

html, body {
    interactive-widget: resize-content;
    overflow-anchor: none;
    overflow-y: auto;
    overflow-x: hidden;
}

.et-load-screen {
    background-color: rgb(113 113 113 / 95%);
    display: flex;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    padding-top: 20%;
    z-index: 1000;
    display: none;
}

.et-load-screen p {
    color: #fff;
    font-size: 30px;
}

.et-login-container {
    min-height: 100vh;
}

.et-login-form {
    max-width: 800px;
    margin: auto;
    width: 70vw;
    background: #00000057 !important;
}

.et-login-form h3 {
    color: #FFF;
    text-align: center;
    font-family: "Josefin Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
}

.et-logo__img {
    width: 220px;
    margin: 2em;
}

.et-btn-orange {
    background-color: #E37410;
    border-color: #E37410;
    border-radius: 0px;
}

.et-btn-orange:hover {
    background-color: #ff5722;
    border-color: #ff5722;
}

.form-control:focus,
.form-select:focus {
    color: #e3e3e3;
    border-color: #E37410;
    outline: 0;
    box-shadow: none;
    background: #0000004d;
}

.form-control {
    border-radius: var(--Radius-100, 2px);
    border: 1.7px solid rgba(222, 219, 206, 0.32);
    background: var(--Background-Blur, rgba(0, 0, 0, 0.15));
    backdrop-filter: blur(10px);
    display: flex;
    height: 48px;
    padding: var(--Radius-500, 16px) var(--Radius-500, 16px) var(--Radius-500, 16px) 15px;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.form-control::placeholder {
    color: rgba(222, 219, 206, 0.32);
    font-family: 'Verdana', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

#et-recaptcha-container {
    margin: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
}

#et-country-code {
    border-radius: 2px;
    border: 1.7px solid rgba(222, 219, 206, 0.32);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    height: 50px;
    padding: 12px;
    color: #fff;
    margin: -2px;
    font-size: 14px;
}

.initial-background {
    background-image: url(../img/borely-estimate-tool-login-background-trenchless-design.webp);
    background-size: cover;
    background-position: left center;
    height: 100vh;
    background-repeat: no-repeat;
}

.image-container {
    /*padding-bottom: 32px;*/
    background-image: url('../img/login-bg--mobile.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center calc(0% - 116px);
}

.otp-background {
    background-image: url('../img/otp-bg.webp');
    background-size: cover;
    background-position: center;
}

.blurred-background {
    border-left: 2px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(150px);
    -webkit-backdrop-filter: blur(150px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 32px;
}

.login-content-wrapper {
    /*max-width: 380px;*/
    width: 100%;
    height: 100%;
    padding-top: 32px;
}

.login-content-wrapper--inner {
    max-width: 380px;
}

.login-footer {
    margin-top: 48px;
    margin-bottom: 32px;
}

.login-footer__branding-text {
    color: #FFF;
    font-family: 'Verdana', sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
    text-align: start;
}

.otp-inputs {
    display: flex;
    width: 476px;
}

.otp-digit {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 26px;
    border-radius: 8px;
    border: 2px solid rgba(200, 219, 233, 0.20);
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: bold;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
    cursor: pointer;
}

.otp-digit:hover {
    outline: none;
    border-color: #5ba1cb;
}

.otp-digit.error-input {
    border-color: #E44501;
}

.otp-content-wrapper {
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.text-danger {
    color: #E44501;
    text-align: right;
    font-family: 'Verdana', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
}

.otp-digit:focus {
    outline: none;
    border-color: #5ba1cb;
}

/* Animaciones de transición */
.fade-enter-active,
.fade-leave-active {
    transition: transform 0.5s ease;
}

.fade-enter,
.fade-leave-to

    /* .fade-leave-active en versiones anteriores de Vue */
{
    transform: translateY(100%);
    /* Comienza fuera de la pantalla */
}

.fade-enter-to,
.fade-leave {
    transform: translateY(0%);
    /* Se muestra en su posición */
}


/* Initial screen */

select#countryCode {
    border-radius: var(--Radius-100, 2px);
    border: 1.7px solid rgba(222, 219, 206, 0.32);
    background: var(--Background-Blur, rgba(0, 0, 0, 0.15));
    backdrop-filter: blur(10px);
    display: flex;
    height: 48px;
    color: #fff;
    padding: 12px;
    font-size: 12px;
    margin-right: 2px !important;
}

#initialScreenTitle {
    color: #FFF;
    text-align: center;
    font-family: "Josefin Sans", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    margin-bottom: 48px;
}

.infoMessageTitle {
    color: #FFF;
    text-align: center;
    font-family: "Josefin Sans";
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    margin: 60px auto 16px auto;
    max-width: 320px;
}

.infoMessageSubtitle {
    color: #FFF;
    text-align: center;
    font-family: Verdana;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .3px;
    line-height: 24px;
    margin-bottom: 2px;
    margin-left: auto;
    margin-right: auto;
    max-width: 360px;
}

.infoMessageSubtitle a {
    color: #e37410;
    text-decoration: underline;
}

.infoMessageSubtitle a:hover {
    color: #fa8112;
}

.infoPrevBtn {
    color: #FFF;
    font-family: Verdana;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
    text-align: left;
}

.btn-initial-screen {
    font-size: 14px;
    padding: 14px 20px;
}

.btn-initial-screen:disabled {
    z-index: -1;
}

.loadingScreenCircle {
    margin-bottom: 60px;
}

/*.login-app-container {*/
/*    height: 100dvh;*/
/*    !*min-height: 100dvh;*!*/
/*    transition: height 0.2s ease-in-out;*/
/*}*/

/* Animations */

.et-flashing-text {
    animation-name: flashing;
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@-moz-keyframes flashing {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes flashing {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes flashing {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@media screen and (max-width: 575.9px) {
    .blurred-background {
        padding: 32px 16px;
    }

    .login-footer {
        margin-top: 8px;
        margin-bottom: 0;
    }

    .login-content-wrapper--inner {
        max-width: 348px;
        height: 100%;
        padding-top: 98px;
    }
}
