/* ── SPLIT LAYOUT ── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    width: 100%;
}

/* ── LEFT – FORM SIDE ── */
.form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 72px;
    background: #fff;
}

.welcome-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #EAF2FF;
    color: #1E5EFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 24px;
}

.welcome-chip::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1E5EFF;
    flex-shrink: 0;
}

.form-side h1 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: #0A1F44;
    line-height: 1.2;
    margin-bottom: 8px;
}

.form-side h1 span {
    color: #1E5EFF;
    font-style: italic;
}

.form-sub {
    font-size: .92rem;
    color: #6b7a99;
    margin-bottom: 36px;
}

.form-sub a {
    color: #1E5EFF;
    font-weight: 600;
    text-decoration: none;
}

.form-sub a:hover {
    text-decoration: underline;
}

/* fields */
.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #8a95aa;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}

.field-wrap {
    position: relative;
}

.field-wrap svg.fi {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0bac9;
    pointer-events: none;
}

.field-wrap input {
    width: 100%;
    border: 1.5px solid #dde3ee;
    border-radius: 10px;
    padding: 13px 14px 13px 42px;
    font-family: 'Inter', sans-serif;
    font-size: .93rem;
    color: #0A1F44;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.field-wrap input::placeholder {
    color: #b0bac9;
}

.field-wrap input:focus {
    border-color: #1E5EFF;
    box-shadow: 0 0 0 3px rgba(30, 94, 255, 0.10);
}

.eye-btn {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #b0bac9;
    cursor: pointer;
    padding: 2px;
    transition: color .2s;
}

.eye-btn:hover {
    color: #1E5EFF;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.remember input {
    accent-color: #1E5EFF;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.remember span {
    font-size: .84rem;
    color: #6b7a99;
}

.forgot {
    font-size: .84rem;
    color: #1E5EFF;
    text-decoration: none;
    font-weight: 600;
}

.forgot:hover {
    text-decoration: underline;
}

/* CTA */
.btn-login {
    width: 100%;
    background: #1E5EFF;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 4px 18px rgba(30, 94, 255, 0.30);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    background: #1750e0;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(30, 94, 255, 0.38);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

.btn-login.loading .btn-label {
    opacity: 0;
}

.btn-login.loading .btn-arrow {
    display: none;
}

.btn-login.loading .btn-spinner {
    display: block;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* OR divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #eaecf2;
}

.divider span {
    font-size: .78rem;
    color: #b0bac9;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* social btns */
.btn-social {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #dde3ee;
    border-radius: 10px;
    background: #fff;
    color: #0A1F44;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    margin-bottom: 10px;
}

.btn-social:hover {
    border-color: #b0bac9;
    background: #f8f9fc;
}

/* trust footer */
.trust-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #eaecf2;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: #8a95aa;
    font-weight: 500;
}

.trust-item svg {
    color: #1E5EFF;
}

/* signup link */
.new-student {
    margin-top: 18px;
    background: #EAF2FF;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.new-student p {
    font-size: .84rem;
    color: #4a5878;
    line-height: 1.4;
}

.new-student p strong {
    color: #0A1F44;
    font-weight: 700;
}

.btn-create {
    white-space: nowrap;
    padding: 9px 18px;
    border: 1.5px solid #1E5EFF;
    border-radius: 8px;
    background: #fff;
    color: #1E5EFF;
    font-family: 'DM Sans', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

.btn-create:hover {
    background: #1E5EFF;
    color: #fff;
}

/* ── RIGHT – TRUST SIDE ── */
.trust-side {
    background: linear-gradient(150deg, #0d2460 0%, #091840 60%, #050f2a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 60px;
    position: relative;
    overflow: hidden;
	margin-top: 80px;				 
}

.trust-side::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 125, 255, 0.22) 0%, transparent 68%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.trust-side::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 94, 255, 0.16) 0%, transparent 70%);
    bottom: -60px;
    left: -40px;
    pointer-events: none;
}

.why-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(100, 160, 255, 0.55);
    color: #a8cbff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    width: fit-content;
    margin-bottom: 22px;
    background: rgba(30, 94, 255, 0.18);
}

.trust-side h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.trust-side h2 em {
    color: #6aabff;
    font-style: italic;
}

.trust-desc {
    font-size: .93rem;
    color: rgba(200, 220, 255, 0.80);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 380px;
}

/* feature cards */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(120, 170, 255, 0.20);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background .2s, border-color .2s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(120, 170, 255, 0.38);
}

.feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(30, 94, 255, 0.38);
    border: 1px solid rgba(100, 160, 255, 0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.feature-text h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.feature-text p {
    font-size: .80rem;
    color: rgba(190, 215, 255, 0.75);
    line-height: 1.45;
}

/* stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(120, 170, 255, 0.22);
    border-radius: 14px;
    overflow: hidden;
}

.stat-cell {
    padding: 18px 16px;
    text-align: center;
    border-right: 1px solid rgba(120, 170, 255, 0.15);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-num {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #6aabff;
    display: block;
    text-shadow: 0 0 20px rgba(74, 125, 255, 0.5);
}

.stat-label {
    font-size: .72rem;
    color: rgba(190, 215, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 3px;
}

/* ── MODAL ── */

.modal .field {
    margin-bottom: 20px;
}

.modal .field label {
    color: #8a95aa;
}

.modal-success {
    text-align: center;
    padding: 10px 0;
}

.modal-success .icon {
    font-size: 52px;
    margin-bottom: 12px;
}

.modal-success h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0A1F44;
    margin-bottom: 6px;
}

.modal-success p {
    font-size: .85rem;
    color: #6b7a99;
    margin-bottom: 0;
} 

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
    }

    .trust-side {
        padding: 48px 32px;
    }

    .form-side {
        padding: 48px 28px;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .form-side h1 {
        font-size: 1.65rem;
    }

    .trust-side h2 {
        font-size: 1.5rem;
    }

    .new-student {
        flex-direction: column;
        align-items: flex-start;
    }
}