/* Web Managment sign-in reference. The supplied approved artwork is the scene;
   the white panel below remains real, accessible and fully interactive. */
html,
body {
    width: 100%;
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    background: #0c1219;
    font-family: Arial, "Helvetica Neue", sans-serif;
}

body.loginwrapper {
    min-height: 100vh;
    overflow: hidden;
    background-image: url("/assets/img/webmanagement-auth-reference.png") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

body.loginwrapper::before {
    display: none !important;
}

main.loginwrapper {
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: block;
    background-color: #0c1219 !important;
    background-image: url("/assets/img/webmanagement-auth-reference.png") !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: fixed !important;
}

main.loginwrapper .login-overlay {
    display: none;
}

main.loginwrapper .tt-auth-reference-card {
    width: 30.35vw;
    height: 70.05vh;
    min-width: 388px;
    min-height: 500px;
    max-width: 510px;
    max-height: 656px;
    box-sizing: border-box;
    position: absolute;
    z-index: 2;
    left: 50.24%;
    top: 48.08%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: clamp(13px, 1.2vw, 20px);
    overflow: visible;
    background: rgba(255, 255, 255, .985);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .32), inset 0 1px rgba(255, 255, 255, .95);
    color: #13213c;
}

.tt-auth-reference-card .tt-login-language-wrap {
    position: absolute;
    z-index: 4;
    top: 4.7%;
    right: 5.6%;
}

.tt-auth-reference-card .tt-login-language {
    width: 102px;
    height: 39px;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0 12px;
    border: 1px solid #d7deea;
    border-radius: 8px;
    background: #fbfcfe;
    box-shadow: 0 3px 10px rgba(20, 36, 62, .04);
    color: #20304f;
    font: 700 13px/1 Arial, "Helvetica Neue", sans-serif;
    cursor: pointer;
}

.tt-auth-reference-card .tt-login-language:hover,
.tt-auth-reference-card .tt-login-language:focus-visible {
    border-color: #ffbf00;
    outline: 0;
}

.tt-login-language-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    background: linear-gradient(#fff 0 33%, #2354b6 33% 66%, #e42b35 66%);
    box-shadow: 0 0 0 1px rgba(15, 29, 52, .14);
    color: transparent;
}

.tt-auth-reference-card .tt-login-language svg {
    width: 11px;
    height: 11px;
}

.tt-auth-reference-card .tt-login-language-menu {
    width: 210px;
    max-height: min(310px, 50vh);
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #d8deea;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(10, 24, 45, .18);
}

.tt-auth-reference-card .tt-login-language-menu button {
    width: 100%;
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px;
    background: transparent;
    color: #20304f;
    font: 600 12px/1.2 Arial, "Helvetica Neue", sans-serif;
    cursor: pointer;
}

.tt-auth-reference-card .tt-login-language-menu button:hover,
.tt-auth-reference-card .tt-login-language-menu button[aria-checked="true"] {
    background: #fff6d9;
}

.tt-auth-reference-brand {
    position: absolute;
    top: 16.4%;
    left: 0;
    right: 0;
    text-align: center;
}

.tt-auth-reference-brand strong {
    display: block;
    color: #101827;
    font-size: clamp(24px, 2vw, 34px);
    line-height: 1;
    font-style: italic;
    font-weight: 900;
    letter-spacing: -.065em;
    text-transform: uppercase;
}

.tt-auth-reference-brand strong span {
    color: #ffbd00;
}

.tt-auth-reference-brand small {
    display: block;
    margin-top: 10px;
    color: #425173;
    font-size: clamp(8px, .7vw, 11px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: .52em;
    text-indent: .52em;
    text-transform: uppercase;
}

.tt-auth-reference-brand i {
    width: 40px;
    height: 3px;
    display: block;
    margin: 13px auto 0;
    background: #ffbd00;
}

.tt-auth-reference-copy {
    position: absolute;
    top: 30.2%;
    left: 10%;
    right: 10%;
    margin: 0;
    color: #3d4e70;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.45;
    font-weight: 500;
    text-align: center;
}

.tt-auth-reference-card .tt-login-body {
    position: absolute;
    top: 41.6%;
    left: 8.7%;
    right: 8.7%;
    bottom: 7%;
    padding: 0;
}

.tt-auth-reference-card #form_login {
    width: 100%;
    height: 100%;
}

.tt-auth-reference-card .form-group {
    margin: 0 0 13px;
}

.tt-auth-reference-card .input-group {
    width: 100%;
    height: 53px;
    box-sizing: border-box;
    border: 1px solid #d9dfeb;
    border-radius: 7px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 45px;
    align-items: center;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 1px 2px rgba(18, 34, 59, .02);
}

.tt-auth-reference-card .input-group:focus-within {
    border-color: #ffbd00;
    box-shadow: 0 0 0 3px rgba(255, 189, 0, .13);
}

.tt-auth-reference-card .input-group-addon {
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #425376;
}

.tt-auth-reference-card .input-group-addon svg {
    width: 17px;
    height: 17px;
}

.tt-auth-reference-card .form-control {
    width: 100%;
    height: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    padding: 0;
    background: transparent;
    color: #172541;
    font: 500 14px/1 Arial, "Helvetica Neue", sans-serif;
}

.tt-auth-reference-card .form-control::placeholder {
    color: #7d89a0;
    opacity: 1;
}

.tt-auth-password-toggle {
    width: 42px;
    height: 42px;
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #4d5d7e;
    cursor: pointer;
}

.tt-auth-password-toggle svg {
    width: 17px;
    height: 17px;
}

.tt-auth-reference-options {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 17px;
    color: #3f4f70;
    font-size: 12px;
}

.tt-auth-reference-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tt-auth-reference-remember input {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: #ffbd00;
}

.tt-auth-reference-forgot {
    border: 0;
    padding: 0;
    background: transparent;
    color: #3f4f70;
    font: inherit;
    cursor: pointer;
}

.tt-auth-reference-forgot:hover {
    color: #c98e00;
}

.tt-auth-reference-card .btn.btn-success {
    width: 100%;
    height: 54px;
    min-height: 54px;
    border: 0;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin: 0;
    padding: 0 18px;
    background: linear-gradient(180deg, #ffd52a 0%, #ffb900 100%);
    box-shadow: 0 9px 22px rgba(255, 181, 0, .25), inset 0 1px rgba(255, 255, 255, .5);
    color: #0e151e;
    font: 900 15px/1 Arial, "Helvetica Neue", sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.tt-auth-reference-card .btn.btn-success:hover:not(:disabled) {
    filter: brightness(1.025);
    transform: translateY(-1px);
}

.tt-auth-reference-card .btn.btn-success:disabled {
    cursor: not-allowed;
    filter: grayscale(.12);
    opacity: .62;
}

.tt-auth-reference-card .error-txt {
    max-height: 40px;
    margin: -4px 0 8px;
    overflow: auto;
    color: #bd243d;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
}

.tt-auth-reference-ssl {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #65738e;
    font-size: 11px;
    line-height: 1;
}

.tt-auth-reference-ssl svg {
    width: 16px;
    height: 16px;
}

.tt-auth-reference-card .preloader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(14, 21, 30, .22);
    border-top-color: #0e151e;
    border-radius: 50%;
    animation: tt-auth-spin .7s linear infinite;
}

.tt-login-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@keyframes tt-auth-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px), (max-height: 620px) {
    body.loginwrapper {
        overflow: auto;
    }

    main.loginwrapper {
        min-height: 100svh;
        display: grid;
        place-items: center;
        padding: 24px;
        box-sizing: border-box;
        background-position: center;
    }

    main.loginwrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(8, 13, 20, .5);
        backdrop-filter: blur(4px);
    }

    main.loginwrapper .tt-auth-reference-card {
        width: min(510px, calc(100vw - 32px));
        height: min(656px, calc(100svh - 32px));
        min-width: 0;
        min-height: 540px;
        max-width: 510px;
        max-height: 656px;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
    }
}

@media (max-width: 520px) {
    main.loginwrapper {
        padding: 10px;
        background-image: linear-gradient(145deg, #20262d, #0d1218);
    }

    main.loginwrapper .tt-auth-reference-card {
        width: 100%;
        height: min(620px, calc(100svh - 20px));
        min-height: 520px;
        border-radius: 14px;
    }

    .tt-auth-reference-card .tt-login-language {
        width: 82px;
        height: 35px;
    }

    .tt-auth-reference-brand strong {
        font-size: 25px;
    }

    .tt-auth-reference-card .input-group {
        height: 49px;
    }

    .tt-auth-reference-card .btn.btn-success {
        height: 50px;
        min-height: 50px;
    }
}
