.tlogin {
    background:
        radial-gradient(ellipse 46% 36% at 88% 8%, rgba(255, 176, 110, .28), transparent 68%),
        #f7f8fb;
    padding: 36px 0 56px;
}

.tlogin-wrap {
    width: min(100% - 32px, var(--nic-container));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 36px 42px;
    align-items: center;
}

.tlogin-copy h1 {
    margin: 0;
    font-size: clamp(2.4rem, 4.4vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.02;
}

.tlogin-copy h1 span {
    display: block;
    color: var(--nic-orange);
}

.tlogin-copy h1 span::after {
    content: "";
    display: block;
    width: 86px;
    height: 5px;
    margin-top: 10px;
    border-radius: 4px;
    background: var(--nic-orange);
}

.tlogin-lead {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--nic-muted);
    font-size: 16px;
}

.tlogin-card {
    margin-top: 26px;
    padding: 26px 26px 22px;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 50px -32px rgba(11, 31, 92, .55);
}

.tlogin-card h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
}

.tlogin-card-lead {
    margin: 4px 0 18px;
    color: var(--nic-muted);
    font-size: 14px;
}

.tlogin-field { margin-bottom: 14px; }

.tlogin-field label,
.tlogin-otp label {
    display: block;
    margin-bottom: 6px;
    color: #24324d;
    font-size: 13.5px;
    font-weight: 700;
}

.tlogin abbr { color: var(--nic-orange); text-decoration: none; }

.tlogin-control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 12px;
    border: 1px solid #d7e0ec;
    border-radius: 10px;
    background: #fff;
}

.tlogin-control > i { color: #8b97ab; width: 18px; text-align: center; }

.tlogin-control input,
.tlogin-otp input {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: transparent;
    color: var(--nic-ink);
    font: inherit;
    font-size: 15px;
}

.tlogin-control input:focus,
.tlogin-otp input:focus { outline: none; }

.tlogin-control:focus-within,
.tlogin-otp input:focus {
    border-color: var(--nic-orange);
    box-shadow: 0 0 0 3px rgba(244, 106, 10, .14);
}

.tlogin-otp input {
    padding: 0 14px;
    border: 1px solid #d7e0ec;
    border-radius: 10px;
}

.tlogin-eye {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #7d8aa0;
    cursor: pointer;
}

.tlogin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 16px;
    font-size: 14px;
}

.tlogin-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #31415f;
    font-weight: 600;
    cursor: pointer;
}

.tlogin-check input { width: 16px; height: 16px; accent-color: var(--nic-orange); }

.tlogin-row a { color: #2f6fd0; font-weight: 700; text-decoration: none; }
.tlogin-row a:hover { text-decoration: underline; }

.tlogin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.tlogin-btn-primary { background: var(--nic-orange); color: #fff; }
.tlogin-btn-primary:hover { background: var(--nic-orange-600); color: #fff; }
.tlogin-btn-otp { margin-top: 0; background: #fff; border-color: #c5d4ea; color: #1d4e9b; }
.tlogin-btn-otp:hover { background: #f4f8ff; color: #1d4e9b; }
.tlogin-btn:disabled { opacity: .7; cursor: default; }

.tlogin-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #9aa6b8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.tlogin-or::before,
.tlogin-or::after { content: ""; flex: 1; height: 1px; background: #e3e9f2; }

.tlogin-otp { margin-bottom: 12px; }
.tlogin-otp[hidden] { display: none; }

.tlogin-status { min-height: 1.2em; margin: 8px 0 0; font-size: 13px; font-weight: 600; }
.tlogin-status.is-ok { color: #17803d; }
.tlogin-status.is-bad { color: #c4321a; }

.tlogin .field-validation-error { display: block; margin-top: 4px; color: #c4321a; font-size: 12.5px; font-weight: 600; }
.tlogin .field-validation-error:empty,
.tlogin .field-validation-valid { display: none; }
.tlogin .input-validation-error { border-color: #d92d20; }

.tlogin-alert {
    margin-bottom: 14px;
    padding: 10px 12px;
    border: 1px solid #f3c2b8;
    border-radius: 10px;
    background: #fff4f1;
    color: #9f2c18;
    font-size: 14px;
    font-weight: 600;
}
.tlogin-alert ul { margin: 0; padding-left: 1.1rem; }

.tlogin-aside { position: relative; }

.tlogin-script {
    position: absolute;
    top: 8px;
    right: 18px;
    z-index: 2;
    margin: 0;
    color: #12306a;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    text-align: right;
}

.tlogin-script .is-accent { color: var(--nic-orange); }
.tlogin-script .nic-swoosh::after { margin-left: auto; }

.tlogin-photo {
    margin: 28px 0 0;
    overflow: hidden;
    border-radius: 22px;
}

.tlogin-photo img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: 62% 42%;
}

.tlogin-bottom {
    width: min(100% - 32px, var(--nic-container));
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 24px 42px;
    align-items: center;
}

.tlogin-links {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tlogin-links li { display: flex; align-items: center; }
.tlogin-links li + li { border-left: 1px solid #d5deea; }

.tlogin-links a,
.tlogin-links button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 0;
    background: transparent;
    color: var(--nic-navy);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.tlogin-links i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eef3fb;
    color: #2f6fd0;
    font-size: 15px;
}

.tlogin-links strong { display: block; font-size: 14px; line-height: 1.2; }
.tlogin-links small { display: block; color: var(--nic-muted); font-size: 12px; }

.tlogin-points {
    display: flex;
    justify-content: flex-end;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tlogin-points li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tlogin-points span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    font-size: 20px;
}
.tlogin-points .is-orange { background: #fff1e4; color: var(--nic-orange); }
.tlogin-points .is-blue { background: #e8f1ff; color: #2f6fd0; }
.tlogin-points .is-green { background: #e7f8ee; color: #1f9d55; }
.tlogin-points p { margin: 0; color: var(--nic-navy); font-size: 13.5px; font-weight: 700; line-height: 1.25; }

@media (max-width: 980px) {
    .tlogin-wrap,
    .tlogin-bottom { grid-template-columns: 1fr; }
    .tlogin-photo img { height: 320px; }
    .tlogin-script { position: static; text-align: left; margin-bottom: 8px; }
    .tlogin-points { justify-content: flex-start; }
    .tlogin-links { flex-wrap: wrap; }
    .tlogin-links li + li { border-left: 0; }
}
