/* Authentication pages: Tradogram Login template. */
html,body {
    margin: 0;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    background: #0D0D0E;
    color: #fff;
    font: 500 16px/1.5 Inter,system-ui,sans-serif;
    padding: 40px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-top: 15px;
}

.auth-page * {
    box-sizing: border-box;
}

.auth-glow {
    position: absolute;
    top: -300px;
    left: -240px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    opacity: .6;
    filter: blur(150px);
    pointer-events: none;
}

.auth-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.auth-header img {
    width: 180px;
    height: 16.19px;
    display: block;
}

.auth-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6) !important;
}

.msym {
    font-family: 'Material Symbols Outlined';
    font-weight: 300;
    font-feature-settings: 'liga';
    line-height: 1;
    display: inline-block;
}

.auth-page .auth-close .msym {
    font-size: 32px;
}

.auth-page .auth-close:hover {
    color: #FFFFFF !important;
}

.auth-main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.auth-wrap {
    width: 100%;
    max-width: 440px;
}

.auth-page #container {
    position: static;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #FBFBF8;
    border: 0;
    border-radius: 12px;
    padding: 40px;
    color: #0D0D0E;
    text-align: left;
    box-shadow: 0 1px 2px rgba(13,13,14,.04),0 0 0 1px rgba(13,13,14,.04);
}

.auth-mark {
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

.auth-page h1 {
    font: 500 32px/1.05 Gellix,Manrope,sans-serif;
    letter-spacing: -.005em;
    margin: 0 0 8px;
}

.auth-page p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: rgba(17,17,17,.6);
    margin: 0 0 32px;
}

.auth-heading {
    margin-bottom: 32px;
}

.auth-heading p {
    margin: 0;
}

.auth-label,.auth-password-label {
    display: block;
    font-size: 14px;
    color: rgba(17,17,17,.6);
    margin-bottom: 6px;
}

.auth-password-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.auth-page a {
    color: inherit;
    text-decoration: none;
}

.auth-page a:hover {
    color: #4A4A4A;
}

.auth-page form {
    margin: 0;
}

.auth-page form br {
    display: none;
}

.auth-page input:not([type=checkbox]):not([type=hidden]):not([type=submit]) {
    width: 100%;
    height: 44px;
    padding: 10px 16px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 4px;
    background: #fff;
    color: #0D0D0E;
    font: 500 16px Inter,sans-serif;
    margin: 0 0 20px;
    box-shadow: none;
}

.auth-page input::placeholder {
    color: rgba(17,17,17,.4);
}

.auth-page input:focus {
    outline: none;
    border-color: #0D0D0E;
    box-shadow: 0 0 0 3px rgba(13,13,14,.06);
}

.auth-page input[type=password] {
    padding-right: 76px!important;
}

.auth-page .btn {
    float: none!important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 4px;
    color: #0D0D0E;
    background: transparent;
    font: 500 16px Inter,sans-serif;
    cursor: pointer;
    margin: 0 0 10px;
}

.auth-page input[type=submit] {
    width: 100%!important;
    background: #0D0D0E;
    color: #fff;
    border: 0;
}

.auth-page input[type=submit]:hover {
    background: #222;
}

.auth-page form>a.btn {
    width: 100%!important;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(17,17,17,.4);
    margin: 22px 0 32px;
}

.auth-divider:before,.auth-divider:after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(13,13,14,.1);
}

.auth-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    border: 1px solid rgba(13,13,14,.2);
    border-radius: 4px;
    margin-bottom: 16px;
}

.auth-verification {
    display: block;
    text-align: center;
    font-size: 14px;
    color: rgba(17,17,17,.6)!important;
}

.auth-footer {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 24px;
}

.auth-footer span {
    color: rgba(255,255,255,.6);
}

.auth-footer a {
    color: #C6FCFF;
}

.auth-page #flash-message:empty {
    display: none;
}

.auth-page #flash-message:not(:empty) {
    color: #D2453B;
    margin-bottom: 20px;
}

.auth-page .password-guidance {
    font-size: 13px;
    color: rgba(17,17,17,.4);
    margin-bottom: 20px;
}

.auth-page input[type=checkbox] {
    accent-color: #0D0D0E;
}

.auth-page #btn-loader:empty {
    display: none;
}

@media(max-width:520px) {
    .auth-page {
        padding: 24px 20px;
    }

    .auth-page #container {
        padding: 28px 24px;
    }

    .auth-main {
        padding: 32px 0;
    }

}

/* The existing eye classes drive Show/Hide without changing JavaScript. */
.fa.fa-eye,.fa.fa-eye-slash {
    font-family: Inter,sans-serif!important;
    font-size: 14px!important;
    font-weight: 500!important;
    font-style: normal;
    color: rgba(17,17,17,.6)!important;
}

.fa.fa-eye:before {
    content: "Show"!important;
}

.fa.fa-eye-slash:before {
    content: "Hide"!important;
}

.auth-page .required-asterisk {
    color: #e32;
}

.auth-verification-note {
    margin: 24px 0;
    padding: 16px;
    background: rgba(13, 13, 14, 0.04);
    border: 1px solid rgba(13, 13, 14, 0.1);
    border-radius: 8px;
}

.auth-verification-note .small-text {
    margin: 0;
    line-height: 1.6;
}

.auth-verification-resend {
    margin: 0 0 24px;
    text-align: center;
}

.auth-verification-action .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.signup-agree {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(17,17,17,.4);
    font-weight: 500;
}

.signup-agree a {
    text-decoration: underline;
    color: rgba(17,17,17,.6);
}