/* ------------------------------------------------------------------
   tt-auth.css - shared shell for the Account pages (Login, Logout,
   LostPassword, ResetPassword).  Split layout: skyline panel on the
   left, form on the right.  Everything is namespaced tt- so it cannot
   collide with custom.css (.tm-*) or the Metronic theme.
   ------------------------------------------------------------------ */

html, body.tt-auth {
    height: 100%;
}

body.tt-auth {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #1d2838;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

body.tt-auth * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ============================ left panel ========================== */

.tt-panel {
    position: relative;
    width: 57%;
    overflow: hidden;
    background: #06101f;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 52px 60px;
}

.tt-panel__bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('../bg/skyline-dusk.svg') center center / cover no-repeat;
}

.tt-panel__tint {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(195deg, rgba(6,18,34,.82) 0%, rgba(6,18,34,.30) 42%, rgba(4,10,20,.78) 100%),
                radial-gradient(900px 420px at 18% 8%, rgba(41,169,225,.28), transparent 60%);
}

.tt-panel > .tt-brand,
.tt-panel > .tt-lead,
.tt-panel > .tt-stats {
    position: relative;
    z-index: 2;
}

.tt-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tt-brand img {
    height: 38px;
    display: block;
}

.tt-brand__rule {
    width: 1px;
    height: 26px;
    background: rgba(255,255,255,.28);
}

.tt-brand__name {
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.72);
    font-weight: 600;
}

.tt-lead {
    max-width: 520px;
    margin-bottom: 10px;
}

.tt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7fd6ff;
    background: rgba(41,169,225,.14);
    border: 1px solid rgba(41,169,225,.32);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 26px;
}

.tt-lead h1 {
    font-size: 46px;
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -.02em;
    margin: 0 0 18px;
}

.tt-lead h1 b {
    font-weight: 700;
    background: linear-gradient(100deg, #8fe0ff, #29a9e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tt-lead p {
    font-size: 16.5px;
    line-height: 1.65;
    color: rgba(226,238,250,.74);
    max-width: 470px;
    margin: 0;
}

.tt-ticks {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 34px;
}

.tt-ticks span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(226,238,250,.86);
}

.tt-ticks i {
    color: #29a9e1;
    font-size: 15px;
}

.tt-stats {
    display: flex;
    gap: 46px;
    padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.tt-stats b {
    display: block;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.tt-stats small {
    font-size: 12.5px;
    color: rgba(226,238,250,.58);
    letter-spacing: .03em;
}

/* ============================ right side ========================== */

.tt-side {
    width: 43%;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
}

.tt-side__top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 0 64px;
}

.tt-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 7px 12px;
}

.tt-side__top a {
    font-size: 13.5px;
    color: #0f6c99;
    text-decoration: none;
    font-weight: 600;
}

.tt-side__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 64px;
}

.tt-side__body h2 {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: #0f1d2e;
    margin: 0;
}

.tt-sub {
    margin: 10px 0 30px;
    font-size: 14.5px;
    color: #64748b;
}

.tt-sub a {
    color: #1583b8;
    font-weight: 600;
    text-decoration: none;
}

.tt-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1583b8;
    text-decoration: none;
    margin-bottom: 20px;
}

/* ============================== fields ============================ */

.tt-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #43536b;
    letter-spacing: .02em;
    margin-bottom: 7px;
}

.tt-field {
    position: relative;
    margin-bottom: 17px;
}

.tt-field > i.tt-ic {
    position: absolute;
    left: 15px;
    top: 23px;
    margin-top: -7px;
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.tt-field input[type="text"],
.tt-field input[type="email"],
.tt-field input[type="password"] {
    width: 100%;
    height: 48px;
    border: 1.5px solid #dfe6ee;
    border-radius: 10px;
    padding: 0 15px 0 42px;
    font-size: 14.5px;
    color: #0f1d2e;
    background: #fbfcfe;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.tt-field input::-webkit-input-placeholder { color: #a7b3c2; }
.tt-field input:-ms-input-placeholder { color: #a7b3c2; }
.tt-field input::placeholder { color: #a7b3c2; }

.tt-field input:focus {
    border-color: #29a9e1;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(41,169,225,.13);
}

.tt-field input:focus ~ i.tt-ic { color: #29a9e1; }

.tt-field input[readonly] {
    background: #f1f5f9;
    color: #64748b;
}

.tt-field--pw input { padding-right: 46px; }

.tt-eye {
    position: absolute;
    right: 6px;
    top: 23px;
    margin-top: -16px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    border-radius: 7px;
    padding: 0;
}

.tt-eye:hover { color: #1583b8; background: #f1f5f9; }

.tt-hint {
    font-size: 11.5px;
    color: #8a97a9;
    margin: -10px 0 16px 2px;
}

.tt-err {
    display: block;
    font-size: 12.5px;
    color: #d64545;
    margin: -11px 0 14px 2px;
}

.tt-err:empty { display: none; }

/* password strength ------------------------------------------------ */

.tt-strength {
    margin: -8px 0 16px;
}

/* --auto stays out of the way until something has been typed (used on sign-in,
   where an empty meter on first paint would just be dead space) */
.tt-strength--auto { display: none; }
.tt-strength--auto.is-1,
.tt-strength--auto.is-2,
.tt-strength--auto.is-3,
.tt-strength--auto.is-4 { display: block; }

.tt-strength__bars {
    display: flex;
    gap: 5px;
}

.tt-strength__bars span {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: #e6ecf3;
    transition: background .2s;
}

.tt-strength__text {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    margin-top: 7px;
    color: #8a97a9;
}

.tt-strength__text b { font-weight: 600; }

.tt-strength.is-1 .tt-strength__bars span:nth-child(1) { background: #e06a6a; }
.tt-strength.is-1 .tt-strength__text b { color: #d64545; }

.tt-strength.is-2 .tt-strength__bars span:nth-child(-n+2) { background: #e9a13b; }
.tt-strength.is-2 .tt-strength__text b { color: #c47c15; }

.tt-strength.is-3 .tt-strength__bars span:nth-child(-n+3) { background: #43b0e0; }
.tt-strength.is-3 .tt-strength__text b { color: #1583b8; }

.tt-strength.is-4 .tt-strength__bars span { background: #2fa36a; }
.tt-strength.is-4 .tt-strength__text b { color: #2fa36a; }

.tt-rules {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.tt-rules li {
    font-size: 11.5px;
    color: #9aa6b6;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tt-rules li:before {
    content: "\f111";
    font-family: FontAwesome;
    font-size: 7px;
    color: #cbd5e1;
}

.tt-rules li.ok { color: #2fa36a; }
.tt-rules li.ok:before { content: "\f00c"; font-size: 10px; color: #2fa36a; }

/* row with remember-me + forgot link ------------------------------- */

.tt-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 24px;
}

.tt-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: #43536b;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.tt-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #29a9e1;
    margin: 0;
    cursor: pointer;
}

.tt-row a,
.tt-link {
    font-size: 13.5px;
    color: #1583b8;
    text-decoration: none;
    font-weight: 600;
}

/* =============================== button =========================== */

.tt-btn {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #29a9e1, #1079ae);
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: .01em;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 10px 22px -8px rgba(16,121,174,.65);
    transition: filter .15s, box-shadow .15s;
}

.tt-btn:hover { filter: brightness(1.06); }
.tt-btn:active { box-shadow: 0 4px 12px -6px rgba(16,121,174,.7); }
.tt-btn[disabled] { opacity: .65; cursor: default; }

.tt-btn--ghost {
    background: #fff;
    color: #334155;
    border: 1.5px solid #dfe6ee;
    box-shadow: none;
    height: 46px;
    font-size: 14.5px;
}

.tt-btn--danger {
    background: linear-gradient(135deg, #e2605f, #c0392b);
    box-shadow: 0 10px 22px -8px rgba(192,57,43,.6);
}

.tt-btn-row {
    display: flex;
    gap: 12px;
}

.tt-btn-row .tt-btn { flex: 1; }

/* ============================== notices =========================== */

.tt-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 10px;
    padding: 13px 15px;
    margin-bottom: 22px;
    background: #eaf6fd;
    border: 1px solid #bfe3f6;
    color: #15618a;
}

.tt-note i { margin-top: 2px; }

.tt-note--error {
    background: #fdeded;
    border-color: #f5c6c6;
    color: #9b2c2c;
}

.tt-note ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tt-note .validation-summary-errors ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ============================== footer ============================ */

.tt-foot {
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12.5px;
    color: #9aa6b6;
}

.tt-foot__secure {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tt-foot__secure i { color: #3aa76d; }

.tt-foot a {
    color: #9aa6b6;
    text-decoration: none;
    margin-left: 16px;
}

/* =================== five-ball loading animation ================== */

.tt-loader {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(8,18,32,.62);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 9999;
}

.tt-loader.is-on { display: flex; }

.tt-loader__balls {
    display: flex;
    align-items: flex-end;
    gap: 11px;
    height: 46px;
}

.tt-loader__balls i {
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    -webkit-animation: tt-bounce 1.05s infinite ease-in-out;
    animation: tt-bounce 1.05s infinite ease-in-out;
}

.tt-loader__balls i:nth-child(1) { background: #29a9e1; animation-delay: 0s; }
.tt-loader__balls i:nth-child(2) { background: #2fa36a; animation-delay: .12s; }
.tt-loader__balls i:nth-child(3) { background: #f0b429; animation-delay: .24s; }
.tt-loader__balls i:nth-child(4) { background: #e2605f; animation-delay: .36s; }
.tt-loader__balls i:nth-child(5) { background: #8b7bf0; animation-delay: .48s; }

.tt-loader__text {
    margin-top: 20px;
    font-size: 13.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.82);
    font-weight: 600;
}

@-webkit-keyframes tt-bounce {
    0%, 70%, 100% { -webkit-transform: translateY(0) scale(.85); opacity: .55; }
    35%           { -webkit-transform: translateY(-24px) scale(1); opacity: 1; }
}

@keyframes tt-bounce {
    0%, 70%, 100% { transform: translateY(0) scale(.85); opacity: .55; }
    35%           { transform: translateY(-24px) scale(1); opacity: 1; }
}

/* ============================ responsive ========================== */

@media (max-width: 1199px) {
    .tt-panel { padding: 44px 44px; }
    .tt-lead h1 { font-size: 38px; }
    .tt-side__top, .tt-side__body, .tt-foot { padding-left: 44px; padding-right: 44px; }
    .tt-stats { gap: 30px; }
}

@media (max-width: 991px) {
    body.tt-auth { display: block; }
    .tt-panel {
        width: 100%;
        min-height: 300px;
        padding: 34px 28px;
    }
    .tt-panel .tt-lead h1 { font-size: 30px; }
    .tt-panel .tt-lead p,
    .tt-panel .tt-ticks,
    .tt-panel .tt-stats { display: none; }
    .tt-side {
        width: 100%;
        padding: 26px 0 34px;
    }
    .tt-side__top, .tt-side__body, .tt-foot { padding-left: 28px; padding-right: 28px; }
    .tt-side__body { padding-top: 22px; padding-bottom: 22px; }
    .tt-foot { flex-direction: column; gap: 10px; align-items: flex-start; }
    .tt-foot a { margin: 0 14px 0 0; }
}
