/* =========================================================
   MAN Kota Blitar — TU & Admin Center v2.0
   Login Gateway
   ========================================================= */

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #23352c;
    background:
        radial-gradient(circle at top left, rgba(9,96,57,.08), transparent 32%),
        linear-gradient(135deg, #edf4ef 0%, #f8faf9 52%, #eef5f1 100%);
}

button, input { font: inherit; }

.tu-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.tu-login-shell {
    width: min(100%, 980px);
    min-height: 590px;
    display: grid;
    grid-template-columns: 42% 58%;
    overflow: hidden;
    border: 1px solid #d8e4dc;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 80px rgba(17, 72, 46, .12);
}

.tu-login-identity {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 42px;
    color: #fff;
    background:
        linear-gradient(160deg, rgba(6,77,45,.98), rgba(7,101,59,.96));
}

.tu-login-identity:after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -95px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px rgba(255,255,255,.035),
        0 0 0 78px rgba(255,255,255,.025);
}

.tu-badge {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    font-weight: 800;
    font-size: 20px;
    letter-spacing: .04em;
}

.tu-identity-copy {
    margin-top: 34px;
}

.tu-kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    opacity: .78;
}

.tu-identity-copy h1 {
    margin: 9px 0 7px;
    font-size: 38px;
    line-height: 1.08;
}

.tu-subtitle {
    margin: 0;
    max-width: 300px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.65;
}

.tu-identity-note {
    margin-top: auto;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    background: rgba(255,255,255,.07);
}

.tu-identity-note strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.tu-identity-note p {
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 12px;
    line-height: 1.65;
}

.tu-security {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: rgba(255,255,255,.68);
    font-size: 11px;
}

.tu-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d9b548;
    box-shadow: 0 0 0 4px rgba(217,181,72,.13);
}

.tu-login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 54px 58px;
}

.tu-small-title {
    margin-bottom: 9px;
    color: #087044;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.tu-form-head h2 {
    margin: 0;
    color: #17462f;
    font-size: 30px;
}

.tu-form-head p {
    margin: 9px 0 0;
    color: #748078;
    font-size: 13px;
}

.tu-alert {
    margin-top: 22px;
    padding: 12px 14px;
    border: 1px solid #efcccc;
    border-radius: 10px;
    color: #8c2e2e;
    background: #fff3f3;
    font-size: 13px;
}

.tu-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.tu-form label {
    display: grid;
    gap: 8px;
}

.tu-form label > span {
    color: #31453a;
    font-size: 12px;
    font-weight: 700;
}

.tu-form input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cad8cf;
    border-radius: 11px;
    outline: none;
    color: #24362d;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.tu-form input:focus {
    border-color: #087044;
    box-shadow: 0 0 0 4px rgba(8,112,68,.10);
}

.tu-password-wrap {
    position: relative;
}

.tu-password-wrap input {
    padding-right: 102px;
}

.tu-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    min-width: 76px;
    height: 34px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    color: #0a6840;
    background: #eef6f1;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.tu-submit {
    min-height: 50px;
    margin-top: 3px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: #08663d;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 9px 22px rgba(8,102,61,.15);
}

.tu-submit:hover {
    background: #075737;
}

.tu-flow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    color: #7a867f;
    font-size: 10px;
}

.tu-flow i {
    flex: 1;
    height: 1px;
    background: #dfe7e2;
}

.tu-footnote {
    margin: 20px 0 0;
    color: #89938d;
    font-size: 10px;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .tu-login-page { padding: 16px; }

    .tu-login-shell {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 18px;
    }

    .tu-login-identity {
        padding: 26px;
    }

    .tu-badge {
        width: 58px;
        height: 58px;
        border-radius: 14px;
        font-size: 17px;
    }

    .tu-identity-copy {
        margin-top: 20px;
    }

    .tu-identity-copy h1 {
        font-size: 30px;
    }

    .tu-identity-note,
    .tu-security {
        display: none;
    }

    .tu-login-form-panel {
        padding: 30px 26px 34px;
    }

    .tu-form-head h2 {
        font-size: 25px;
    }

    .tu-flow {
        flex-wrap: wrap;
    }

    .tu-flow i {
        min-width: 22px;
    }
}
