/* TransferHub 2027 · Login general */

.th27-login-page {
    min-height: calc(100vh - 78px);
    padding: 54px 0 84px;
}

.th27-login-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .72fr);
    gap: 30px;
    align-items: center;
}

.th27-login-intro {
    padding: 24px 10px 24px 0;
}

.th27-login-intro h1 {
    max-width: 760px;
    margin: 13px 0 0;
    font-size: clamp(44px, 5.4vw, 76px);
    line-height: .99;
    letter-spacing: -3px;
}

.th27-login-intro h1 span {
    display: block;
    margin-top: 7px;
    background: linear-gradient(
        90deg,
        #18e091,
        #21bfff 72%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.th27-login-lead {
    max-width: 670px;
    margin: 22px 0 0;
    color: var(--th27-soft);
    font-size: 15px;
    line-height: 1.72;
}

.th27-login-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 27px;
}

.th27-login-kpi {
    min-height: 100px;
    padding: 16px;
    border: 1px solid var(--th27-border);
    border-radius: 14px;
    background:
        linear-gradient(
            145deg,
            rgba(10, 38, 61, .90),
            rgba(5, 22, 37, .92)
        );
}

.th27-login-kpi i {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(23, 135, 255, .11);
    color: #61c4ff;
    font-style: normal;
    font-size: 15px;
}

.th27-login-kpi strong {
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

.th27-login-kpi span {
    display: block;
    margin-top: 4px;
    color: var(--th27-muted);
    font-size: 9px;
    line-height: 1.45;
}

.th27-login-access {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 17px;
}

.th27-login-access-card {
    padding: 14px;
    border: 1px solid var(--th27-border);
    border-radius: 12px;
    background: rgba(5, 24, 40, .70);
    transition: .16s ease;
}

.th27-login-access-card:hover {
    border-color: var(--th27-border-strong);
    transform: translateY(-1px);
}

.th27-login-access-card strong {
    display: block;
    font-size: 11px;
}

.th27-login-access-card span {
    display: block;
    margin-top: 3px;
    color: var(--th27-muted);
    font-size: 9px;
}

.th27-login-card {
    overflow: hidden;
    border: 1px solid rgba(60, 156, 229, .24);
    border-radius: 23px;
    background:
        linear-gradient(
            145deg,
            rgba(9, 32, 52, .98),
            rgba(4, 20, 34, .98)
        );
    box-shadow:
        0 34px 90px rgba(0, 0, 0, .34),
        0 0 0 1px rgba(22, 117, 204, .06);
}

.th27-login-card-head {
    padding: 28px;
    border-bottom: 1px solid var(--th27-border);
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(24, 140, 255, .17),
            transparent 42%
        ),
        rgba(8, 30, 49, .88);
}

.th27-login-card-head__icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(22, 224, 140, .24);
    border-radius: 12px;
    background: rgba(22, 224, 140, .09);
    color: var(--th27-green);
    font-size: 19px;
}

.th27-login-card-head h2 {
    margin: 15px 0 0;
    font-size: 29px;
    letter-spacing: -.9px;
}

.th27-login-card-head p {
    margin: 7px 0 0;
    color: var(--th27-muted);
    font-size: 11px;
    line-height: 1.55;
}

.th27-login-form {
    padding: 27px;
}

.th27-login-field {
    display: grid;
    gap: 7px;
    margin-top: 16px;
}

.th27-login-field:first-of-type {
    margin-top: 0;
}

.th27-login-field span {
    color: #e2edf6;
    font-size: 11px;
    font-weight: 800;
}

.th27-login-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(94, 160, 210, .21);
    border-radius: 11px;
    outline: 0;
    background: rgba(3, 16, 28, .82);
    color: #fff;
    font: inherit;
    font-size: 13px;
    transition: .16s ease;
}

.th27-login-field input::placeholder {
    color: #577086;
}

.th27-login-field input:focus {
    border-color: rgba(38, 156, 255, .72);
    box-shadow: 0 0 0 3px rgba(23, 135, 255, .10);
}

.th27-login-options {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-top: 15px;
}

.th27-login-remember {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--th27-soft);
    font-size: 11px;
    cursor: pointer;
    user-select: none;
}

.th27-login-remember input {
    width: 16px;
    height: 16px;
    accent-color: var(--th27-blue);
}

.th27-login-forgot {
    color: #65c7ff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.th27-login-forgot:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.th27-login-submit {
    width: 100%;
    margin-top: 20px;
    border: 0;
    cursor: pointer;
}

.th27-login-error {
    margin-bottom: 18px;
    padding: 13px 14px;
    border: 1px solid rgba(255, 82, 106, .30);
    border-radius: 11px;
    background: rgba(255, 82, 106, .08);
    color: #ff9cab;
    font-size: 11px;
    line-height: 1.5;
}

.th27-login-card-footer {
    padding: 17px 27px;
    border-top: 1px solid var(--th27-border);
    background: rgba(4, 18, 30, .58);
    color: var(--th27-muted);
    font-size: 10px;
    line-height: 1.55;
}

.th27-login-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

@media (max-width: 1050px) {
    .th27-login-layout {
        grid-template-columns: 1fr;
    }

    .th27-login-intro {
        padding-right: 0;
        text-align: center;
    }

    .th27-login-intro h1,
    .th27-login-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .th27-login-card {
        width: min(100%, 600px);
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .th27-login-page {
        padding-top: 34px;
    }

    .th27-login-intro h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .th27-login-kpis,
    .th27-login-access {
        grid-template-columns: 1fr;
    }

    .th27-login-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .th27-login-form,
    .th27-login-card-head {
        padding: 21px;
    }
}
