.tt-login-page {
    margin: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    background: #f7f8fa;
    color: #1f2937;
    -webkit-font-smoothing: antialiased;
}

.tt-login-page > .asg-shell {
    display: none !important;
}

.tt-login-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
    background:
        linear-gradient(90deg, rgba(239, 43, 50, .06) 0 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
}

.tt-brand-panel {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: clamp(18px, 3vh, 34px) clamp(22px, 3.4vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: #fff;
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 18px),
        linear-gradient(135deg, #111827 0%, #7f1d1d 52%, #ef2b32 100%);
}

.tt-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, transparent 0 47%, rgba(255,255,255,.11) 48% 49%, transparent 50% 100%),
        linear-gradient(155deg, transparent 0 63%, rgba(0,0,0,.18) 64% 65%, transparent 66% 100%);
    pointer-events: none;
}

.tt-brand-head,
.tt-ops-board,
.tt-contact-strip {
    position: relative;
    z-index: 1;
}

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

.tt-brand-logo {
    width: min(238px, 46vw);
    height: 92px;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(255,255,255,.68);
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
    object-fit: contain;
}

.tt-brand-label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tt-brand-label strong {
    color: #fff;
    font-size: clamp(24px, 2.8vw, 40px);
    line-height: .96;
    font-weight: 900;
    letter-spacing: 0;
}

.tt-brand-label span {
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.tt-ops-board {
    width: min(660px, 100%);
    margin: clamp(14px, 2vh, 24px) 0;
    padding: clamp(16px, 2.2vh, 24px);
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    color: #1f2937;
    border: 1px solid rgba(255,255,255,.72);
    box-shadow: 0 32px 90px rgba(17, 24, 39, .26);
}

.tt-ops-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.tt-ops-top span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 850;
}

.tt-ops-top h2 {
    margin: 0;
    color: #111827;
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.tt-ops-top p {
    margin: 5px 0 0;
    color: #6b7280;
    font-size: 13.5px;
    line-height: 1.35;
}

.tt-route-visual {
    position: relative;
    height: clamp(142px, 23vh, 210px);
    min-height: 0;
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(17,24,39,.06) 0 1px, transparent 1px) 0 0 / 38px 38px,
        linear-gradient(180deg, #fff, #f9fafb);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.tt-route-visual svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tt-route-line {
    stroke-dasharray: 12 14;
    animation: ttRouteMove 2.8s linear infinite;
}

.tt-route-package {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ef2b32;
    color: #fff;
    box-shadow: 0 16px 34px rgba(239, 43, 50, .28);
}

.tt-route-package i {
    font-size: 22px;
}

.tt-route-package.one {
    left: 9%;
    top: 25%;
}

.tt-route-package.two {
    right: 11%;
    top: 18%;
    background: #111827;
}

.tt-route-package.three {
    left: 48%;
    bottom: 17%;
    background: #991b1b;
}

.tt-metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.tt-metric {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.tt-metric span {
    display: block;
    color: #6b7280;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.25;
}

.tt-metric strong {
    display: block;
    margin-top: 5px;
    color: #111827;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1;
    font-weight: 900;
}

.tt-contact-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-width: 760px;
}

.tt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.88);
    backdrop-filter: blur(8px);
}

.tt-contact-item i {
    color: #fff;
    font-size: 16px;
    flex: 0 0 auto;
}

.tt-contact-item span {
    min-width: 0;
    font-size: 11.5px;
    line-height: 1.25;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.tt-auth-panel {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: clamp(18px, 3vh, 34px) clamp(20px, 3vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(239, 43, 50, .08) 0 1px, transparent 1px) 0 0 / 34px 34px,
        #fff;
}

.tt-auth-card {
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    margin: 0 auto;
    padding: clamp(22px, 3vh, 30px);
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 28px 80px rgba(17, 24, 39, .12);
}

.tt-auth-logo {
    display: none;
    width: 172px;
    height: 72px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.tt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #b91c1c;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tt-eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ef2b32;
    box-shadow: 0 0 0 5px rgba(239, 43, 50, .14);
}

.tt-auth-head h1 {
    margin: 0;
    color: #111827;
    font-size: clamp(28px, 3.3vw, 38px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.tt-auth-head p {
    margin: 8px 0 18px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.4;
}

.tt-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 13px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    font-size: 13.5px;
    font-weight: 750;
}

.tt-alert i {
    font-size: 18px;
}

.tt-field {
    margin-bottom: 12px;
}

.tt-field label {
    display: block;
    margin-bottom: 7px;
    color: #111827;
    font-size: 13px;
    font-weight: 850;
}

.tt-field label span {
    color: #ef2b32;
}

.tt-input {
    position: relative;
    display: flex;
    align-items: center;
}

.tt-input > i {
    position: absolute;
    left: 16px;
    color: #9ca3af;
    font-size: 20px;
    pointer-events: none;
}

.tt-input input {
    width: 100%;
    height: 50px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    color: #111827;
    font-size: 15px;
    padding: 0 52px 0 50px;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.tt-input input::placeholder {
    color: #9ca3af;
}

.tt-input input:focus {
    outline: none;
    border-color: #ef2b32;
    background: #fff;
    box-shadow: 0 0 0 5px rgba(239, 43, 50, .12);
}

.tt-input:focus-within > i {
    color: #ef2b32;
}

.tt-password-toggle {
    position: absolute;
    right: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.tt-password-toggle:hover {
    background: #fee2e2;
    color: #b91c1c;
}

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

.tt-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #374151;
    font-size: 14px;
    font-weight: 750;
}

.tt-check input {
    width: 19px;
    height: 19px;
    accent-color: #ef2b32;
}

.tt-forgot {
    color: #b91c1c;
    font-size: 14px;
    font-weight: 850;
    text-decoration: none;
}

.tt-forgot:hover {
    color: #ef2b32;
    text-decoration: underline;
}

.tt-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #ef2b32, #991b1b);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 18px 38px rgba(239, 43, 50, .28);
    transition: transform .16s ease, box-shadow .16s ease;
}

.tt-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 46px rgba(239, 43, 50, .34);
}

.tt-submit:active {
    transform: translateY(0);
}

.tt-auth-foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.tt-auth-foot strong {
    color: #111827;
}

@keyframes ttRouteMove {
    to {
        stroke-dashoffset: -90;
    }
}

@media (max-width: 1199.98px) {
    .tt-login-shell {
        grid-template-columns: minmax(0, 1fr) 430px;
    }

    .tt-brand-logo {
        width: 210px;
        height: 84px;
    }
}

@media (max-width: 991.98px) {
    .tt-login-shell {
        display: flex;
        height: 100vh;
        height: 100dvh;
    }

    .tt-brand-panel {
        display: none;
    }

    .tt-auth-panel {
        flex: 1 1 auto;
        height: 100vh;
        height: 100dvh;
        min-height: 0;
        padding: 14px;
    }

    .tt-auth-logo {
        display: block;
    }

    .tt-auth-card {
        max-width: 440px;
        max-height: calc(100dvh - 28px);
        padding: 20px;
    }

    .tt-auth-head h1 {
        font-size: 32px;
    }
}

@media (max-width: 520px) {
    .tt-auth-card {
        padding: 18px;
        border-radius: 14px;
    }

    .tt-row {
        align-items: center;
        flex-direction: row;
        gap: 10px;
    }

    .tt-input input {
        height: 48px;
    }

    .tt-auth-logo {
        width: 154px;
        height: 62px;
    }

    .tt-auth-foot {
        font-size: 12px;
    }
}

@media (max-height: 760px) and (min-width: 992px) {
    .tt-brand-logo {
        width: 198px;
        height: 78px;
    }

    .tt-brand-label strong {
        font-size: 30px;
    }

    .tt-ops-board {
        margin: 12px 0;
        padding: 16px;
    }

    .tt-route-visual {
        height: 138px;
    }

    .tt-contact-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tt-contact-item {
        padding: 8px 9px;
    }

    .tt-contact-item span {
        font-size: 10.8px;
    }

    .tt-auth-card {
        padding: 22px;
    }

    .tt-auth-head p {
        margin-bottom: 14px;
    }

    .tt-auth-foot {
        margin-top: 12px;
        padding-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
}
