.student-login-shell {
    --student-purple: #6d28d9;
    --student-purple-dark: #5420ad;
    --student-purple-soft: #f2edff;
    --student-gold: #d4a72c;
    --student-ink: #28243d;
    --student-muted: #69657a;
    --student-border: #dedbea;
    --student-surface: #ffffff;
}

.main-panel.student-login-shell {
    position: relative;
    isolation: isolate;
    flex: 1 0 auto;
    align-self: stretch;
    width: 100%;
    max-width: none;
    min-height: 570px;
    padding: 36px 0 44px;
    overflow: hidden;
    background: linear-gradient(
        110deg,
        rgba(250, 248, 253, 0.86) 0%,
        rgba(250, 248, 253, 0.82) 46%,
        rgba(250, 248, 253, 0.72) 100%
    );
}

.student-login-shell.main-panel > .student-login-container {
    padding-right: 15px !important;
    padding-left: 15px !important;
    overflow: visible;
}

.student-login-container {
    position: relative;
    z-index: 1;
}

.student-login-row {
    min-height: 440px;
}

.student-welcome {
    padding-right: 36px;
}

.student-welcome-mark {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.student-welcome-mark img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 50%;
}

.student-welcome-mark span {
    width: 44px;
    height: 2px;
    background: var(--student-gold);
}

.student-welcome h1 {
    margin: 0;
    color: var(--student-purple);
    font-size: clamp(2.35rem, 3.4vw, 3.25rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.student-welcome-subtitle {
    margin: 6px 0 0;
    color: var(--student-ink);
    font-size: 1.1rem;
    font-weight: 650;
}

.student-welcome-accent {
    display: block;
    width: 44px;
    height: 3px;
    margin: 16px 0;
    border-radius: 2px;
    background: var(--student-gold);
}

.student-welcome-description {
    max-width: 440px;
    margin: 0;
    color: var(--student-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.student-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.student-benefit-card {
    display: flex;
    min-height: 104px;
    padding: 12px 8px 10px;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border: 1px solid rgba(109, 40, 217, 0.13);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 10px rgba(66, 45, 97, 0.06);
}

.student-benefit-icon {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    place-items: center;
    color: var(--student-purple);
    font-size: 1.25rem;
}

.student-benefit-card strong {
    color: var(--student-purple);
    font-size: 0.9rem;
    font-weight: 750;
}

.student-benefit-card small {
    margin-top: 2px;
    color: #7d778b;
    font-size: 0.69rem;
    line-height: 1.4;
}

.student-login-column {
    display: flex;
    justify-content: flex-end;
}

.student-login-card {
    width: 100%;
    max-width: 600px;
    padding: 28px 30px;
    border: 1px solid rgba(82, 60, 119, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(53, 39, 80, 0.11);
}

.student-login-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.student-login-lock {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--student-purple);
    border-radius: 6px;
    background: var(--student-purple-soft);
    font-size: 1rem;
}

.student-login-card h2 {
    margin: 0;
    color: var(--student-ink);
    font-size: clamp(1.35rem, 2vw, 1.62rem);
    font-weight: 750;
    line-height: 1.3;
}

.student-field-group + .student-field-group {
    margin-top: 16px;
}

.student-field-group label {
    display: block;
    margin: 0 0 6px;
    color: #393448;
    font-size: 0.9rem;
    font-weight: 650;
}

.student-input-wrap {
    position: relative;
}

.student-input-wrap > i:first-child {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: var(--student-purple);
    font-size: 0.98rem;
    pointer-events: none;
}

.student-login-input.form-control {
    height: 52px;
    padding: 10px 48px;
    color: var(--student-ink);
    border: 1px solid var(--student-border);
    border-radius: 6px;
    background: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.student-login-input.form-control::placeholder {
    color: #aaa6b5;
}

.student-login-input.form-control:hover {
    border-color: #c5b8df;
}

.student-login-input.form-control:focus {
    border-color: var(--student-purple);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.10);
}

.login-ip .student-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 5px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    place-items: center;
    color: #5f5a6e;
    border: 0;
    border-radius: 4px;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
}

.login-ip .student-password-toggle:hover,
.login-ip .student-password-toggle:focus {
    color: var(--student-purple);
    background: var(--student-purple-soft);
    outline: none;
}

.student-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 7px;
}

.student-forgot-row a {
    color: var(--student-purple);
    font-size: 0.86rem;
    font-weight: 650;
}

.student-forgot-row a:hover,
.student-forgot-row a:focus {
    color: var(--student-purple-dark);
    text-decoration: underline;
}

.student-login-submit.btn {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff !important;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(100deg, #7c3aed, #5d21c6);
    box-shadow: 0 6px 14px rgba(109, 40, 217, 0.2);
    font-size: 0.96rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.student-login-submit.btn:hover,
.student-login-submit.btn:focus {
    color: #fff !important;
    filter: brightness(1.04);
    box-shadow: 0 8px 18px rgba(109, 40, 217, 0.24);
}

.student-login-submit.btn:active {
    transform: translateY(0);
}

.student-login-help {
    display: flex;
    min-height: 58px;
    margin-top: 16px;
    padding: 10px 12px;
    align-items: center;
    gap: 11px;
    color: var(--student-ink);
    border: 1px solid #e3ddef;
    border-radius: 6px;
    background: #fcfbff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.student-login-help:hover,
.student-login-help:focus {
    color: var(--student-ink);
    border-color: #cdbce9;
    background: #f8f5ff;
    text-decoration: none;
}

.student-help-icon {
    display: grid;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    place-items: center;
    color: var(--student-purple);
    border-radius: 6px;
    background: var(--student-purple-soft);
    font-size: 0.82rem;
}

.student-login-help > span:nth-child(2) {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.student-login-help strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.student-login-help small {
    margin-top: 1px;
    color: var(--student-muted);
    font-size: 0.8rem;
}

.student-help-arrow {
    color: #aaa3b8;
    font-size: 0.78rem;
}

@media (max-width: 1199.98px) {
    .student-welcome { padding-right: 28px; }
    .student-login-card { padding: 26px; }
    .student-benefit-card { min-height: 100px; }
}

@media (max-width: 991.98px) {
    .student-login-shell {
        padding: 32px 0 40px;
    }

    .student-login-row {
        min-height: 0;
    }

    .student-welcome {
        max-width: 650px;
        margin: 0 auto 28px;
        padding-right: 15px;
        text-align: center;
    }

    .student-welcome-mark {
        justify-content: center;
    }

    .student-welcome-description {
        margin: 0 auto;
    }

    .student-welcome-accent {
        margin-right: auto;
        margin-left: auto;
    }

    .student-login-column {
        justify-content: center;
    }

    .student-login-card {
        max-width: 620px;
    }
}

@media (max-width: 767.98px) {
    .student-login-shell {
        padding: 28px 0 36px;
    }

    .student-welcome h1 {
        font-size: 2.4rem;
    }

    .student-welcome-subtitle {
        font-size: 1.08rem;
    }

    .student-benefits {
        max-width: 540px;
        margin-right: auto;
        margin-left: auto;
    }

    .student-login-card {
        padding: 24px 22px;
        border-radius: 7px;
    }

}

@media (max-width: 575.98px) {
    .student-login-shell {
        padding-top: 26px;
    }

    .student-welcome-mark,
    .student-welcome-description,
    .student-welcome-accent {
        display: none;
    }

    .student-welcome {
        margin-bottom: 22px;
    }

    .student-welcome h1 {
        font-size: 2.15rem;
    }

    .student-welcome-subtitle {
        margin-top: 3px;
        font-size: 1.05rem;
    }

    .student-benefits {
        gap: 7px;
        margin-top: 18px;
    }

    .student-benefit-card {
        min-height: 100px;
        padding: 11px 5px 10px;
        border-radius: 6px;
    }

    .student-benefit-icon {
        width: 31px;
        height: 31px;
        margin-bottom: 2px;
        font-size: 1.12rem;
    }

    .student-benefit-card strong {
        font-size: 0.8rem;
    }

    .student-benefit-card small {
        font-size: 0.63rem;
    }

    .student-login-card {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .student-login-card-header {
        gap: 12px;
        margin-bottom: 18px;
    }

    .student-login-lock {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 5px;
    }

    .student-login-card h2 {
        font-size: 1.22rem;
    }

    .student-login-input.form-control {
        height: 50px;
        font-size: 0.94rem;
    }

    .student-login-help {
        padding: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-login-input.form-control,
    .student-login-submit.btn,
    .student-login-help {
        transition: none;
    }
}
