*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f1f5f9;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
}

.login-wrap {
    display: flex;
    width: 860px;
    min-height: 520px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    overflow: hidden;
}

.login-left {
    width: 320px;
    flex-shrink: 0;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 36px;
    text-align: center;
}

.brand-icon {
    width: 56px; height: 56px;
    background: #059669;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.brand-name { font-size: 1.3rem; font-weight: 700; color: #f8fafc; letter-spacing: .5px; margin-bottom: 6px; }
.brand-sub { font-size: .75rem; color: #64748b; line-height: 1.6; max-width: 200px; }
.brand-divider { width: 40px; height: 2px; background: #059669; border-radius: 2px; margin: 22px auto; }
.brand-info { font-size: .72rem; color: #475569; line-height: 1.7; }
.brand-info strong { color: #94a3b8; }

.login-right { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 48px 52px; }
.form-heading { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.form-sub { font-size: .8rem; color: #94a3b8; margin-bottom: 32px; }
.form-sub strong { font-size: .8rem; color: #059669; margin-bottom: 32px; }

.alert-error {
    display: flex; align-items: center; gap: 10px;
    background: #fff1f2; border: 1px solid #fecdd3; border-left: 3px solid #ef4444;
    border-radius: 8px; padding: 10px 14px; font-size: .8rem; color: #b91c1c; margin-bottom: 22px;
}
.alert-error i { color: #ef4444; flex-shrink: 0; }

.field-group { margin-bottom: 20px; }
.field-label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin-bottom: 7px; }
.field-wrap { position: relative; }
.field-wrap i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #cbd5e1; font-size: .82rem; }
.field-input {
    width: 100%; padding: 10px 14px 10px 40px; border: 1px solid #e2e8f0; border-radius: 8px;
    font-size: .9rem; background: #f8fafc; transition: border-color .15s; outline: none;
}
.field-input:focus { border-color: #059669; background: #fff; box-shadow: 0 0 0 3px rgba(5,150,105,.1); }
.field-input:focus + i { color: #059669; }

.btn-submit {
    width: 100%; padding: 11px; margin-top: 8px; background: #059669; color: #fff;
    border: none; border-radius: 8px; font-size: .9rem; font-weight: 600; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: #047857; }

.form-footer { margin-top: 28px; font-size: .7rem; color: #cbd5e1; text-align: center; }
.form-footer strong { color: #059669; }

@media (max-width: 680px) {
    .login-wrap { flex-direction: column; width: 100%; min-height: auto; border-radius: 0; }
    .login-left { width: 100%; padding: 32px 24px; }
    .login-right { padding: 32px 24px; }
}