/* =========================================================
   TVET KTAC - LOGIN PELAJAR
   Design desktop + mobile. Logik login kekal di PHP.
   ========================================================= */

.student-login-v2 {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: #f5f8fc;
    color: #10243f;
}

.tvet-login-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(440px, .92fr);
    background:
        radial-gradient(circle at 5% 0%, rgba(11, 95, 199, .10), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(228, 63, 77, .07), transparent 32%),
        #f5f8fc;
}

.tvet-login-brand-panel {
    padding: clamp(44px, 6vw, 78px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tvet-login-logo-row {
    margin-bottom: 28px;
}

.tvet-login-brand-logo {
    display: block;
    width: min(100%, 280px);
    height: auto;
    object-fit: contain;
}

.tvet-login-kicker {
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0b5fc7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
}

.tvet-login-brand-panel h1 {
    margin: 0;
    color: #0c2e57;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 1;
    letter-spacing: -.025em;
}

.tvet-login-brand-subtitle {
    margin: 10px 0 34px;
    color: #0b5fc7;
    font-size: 18px;
    font-weight: 800;
}

.tvet-login-brand-panel h2 {
    margin: 0 0 18px;
    color: #183b63;
    font-size: clamp(34px, 3.2vw, 46px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.tvet-login-brand-panel h2 span {
    color: #0b5fc7;
}

.tvet-login-brand-text {
    max-width: 650px;
    margin: 0;
    color: #52657c;
    font-size: 17px;
    line-height: 1.75;
}

.tvet-login-feature-grid {
    max-width: 650px;
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tvet-login-feature-card {
    position: relative;
    min-height: 116px;
    padding: 18px 18px 18px 64px;
    border: 1px solid #e1e8f1;
    border-radius: 20px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(15,35,70,.055);
}

.tvet-login-feature-icon {
    position: absolute;
    left: 17px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #0b5fc7;
    font-size: 11px;
    font-weight: 900;
}

.tvet-login-feature-card strong {
    display: block;
    margin-bottom: 6px;
    color: #183b63;
    font-size: 14px;
}

.tvet-login-feature-card small {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.tvet-login-website-link {
    width: fit-content;
    margin-top: 22px;
    color: #0b5fc7;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.tvet-login-website-link:hover {
    text-decoration: underline;
}

.tvet-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px;
}

.tvet-login-card {
    width: min(100%, 450px);
    padding: 38px;
    border: 1px solid #e5ebf3;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15,35,70,.12);
}

.tvet-login-mobile-brand {
    display: none;
    text-align: center;
    margin-bottom: 24px;
}

.tvet-login-mobile-logo {
    width: min(100%, 230px);
    margin: 0 auto 10px;
}

.tvet-login-mobile-brand strong,
.tvet-login-mobile-brand span {
    display: block;
}

.tvet-login-mobile-brand strong {
    color: #0b5fc7;
    font-size: 11px;
    letter-spacing: .11em;
}

.tvet-login-mobile-brand span {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}

.tvet-login-card-head {
    text-align: center;
    margin-bottom: 25px;
}

.tvet-login-card-mark {
    width: 62px;
    height: 62px;
    margin: 0 auto 15px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: #eaf2ff;
    color: #0b5fc7;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
}

.tvet-login-eyebrow {
    margin: 0 0 7px;
    color: #0b5fc7;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .10em;
}

.tvet-login-card-head h2 {
    margin: 0;
    color: #0c2e57;
    font-size: 30px;
}

.tvet-login-card-head > p:last-child {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.tvet-login-form {
    display: grid;
    gap: 17px;
}

.tvet-login-group label {
    display: block;
    margin-bottom: 8px;
    color: #26364d;
    font-size: 13px;
    font-weight: 800;
}

.tvet-login-input-wrap {
    position: relative;
}

.tvet-login-input-code {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #edf4ff;
    color: #0b5fc7;
    font-size: 10px;
    font-weight: 900;
    pointer-events: none;
}

.tvet-login-input-wrap input {
    width: 100%;
    min-height: 54px;
    padding: 0 74px 0 52px;
    border: 1px solid #ccd8e6;
    border-radius: 15px;
    outline: none;
    background: #fbfdff;
    color: #10243f;
    font-size: 14px;
}

.tvet-login-input-wrap input:focus {
    border-color: #0b5fc7;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11,95,199,.10);
}

.tvet-login-password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    padding: 8px 10px;
    background: #edf4ff;
    color: #084a9c;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
}

.tvet-login-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 15px;
    background: #0b5fc7;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    transition: .2s ease;
}

.tvet-login-submit:hover:not(:disabled) {
    background: #084a9c;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(11,95,199,.20);
}

.tvet-login-submit:disabled {
    cursor: not-allowed;
    opacity: .55;
}

.tvet-login-help-box {
    margin-top: 22px;
    padding: 14px 15px;
    border-radius: 14px;
    background: #f6f8fb;
    text-align: center;
}

.tvet-login-help-box strong,
.tvet-login-help-box span {
    display: block;
}

.tvet-login-help-box strong {
    margin-bottom: 4px;
    color: #183b63;
    font-size: 12px;
}

.tvet-login-help-box span {
    color: #718096;
    font-size: 11px;
    line-height: 1.45;
}

.tvet-login-footer {
    margin-top: 22px;
    text-align: center;
    color: #7b899b;
    font-size: 11px;
    line-height: 1.5;
}

.tvet-login-footer strong,
.tvet-login-footer span {
    display: block;
}

.tvet-login-footer strong {
    margin-bottom: 3px;
    color: #0c2e57;
    font-size: 12px;
}

@media (max-width: 980px) {
    .tvet-login-page {
        display: block;
        padding: max(22px, env(safe-area-inset-top)) 14px max(22px, env(safe-area-inset-bottom));
    }

    .tvet-login-brand-panel {
        display: none;
    }

    .tvet-login-form-panel {
        display: block;
        padding: 0;
    }

    .tvet-login-card {
        margin: 0 auto;
        padding: 28px 22px;
        border-radius: 26px;
    }

    .tvet-login-mobile-brand {
        display: block;
    }
}

@media (max-width: 480px) {
    .tvet-login-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tvet-login-card {
        padding: 24px 17px;
        border-radius: 23px;
    }

    .tvet-login-card-head h2 {
        font-size: 27px;
    }

    .tvet-login-input-wrap input {
        min-height: 52px;
        font-size: 14px;
    }

    .tvet-login-submit {
        min-height: 52px;
    }
}
