/* ---------- 客户汇款水单系统 · login ---------- */
.login-body {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #0e7490 100%);
    font-family: "Source Sans Pro", "PingFang SC", "Microsoft YaHei", "Noto Sans Thai", sans-serif;
}

.login-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .35;
    pointer-events: none;
}
.login-bg-shape.shape-1 { width: 420px; height: 420px; background: radial-gradient(circle, #38bdf8, transparent 70%); top: -120px; left: -120px; }
.login-bg-shape.shape-2 { width: 520px; height: 520px; background: radial-gradient(circle, #6366f1, transparent 70%); bottom: -200px; right: -160px; }
.login-bg-shape.shape-3 { width: 240px; height: 240px; background: radial-gradient(circle, #f59e0b, transparent 70%); top: 55%; left: 8%; opacity: .2; }

.login-shell {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 920px;
    min-height: 520px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    box-shadow: 0 30px 80px rgba(2, 6, 23, .45);
    backdrop-filter: blur(6px);
}

/* left brand panel */
.login-brand {
    flex: 1 1 50%;
    padding: 44px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, rgba(37, 99, 235, .55), rgba(14, 116, 144, .35));
}
.brand-badge {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .18);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.brand-title { font-size: 28px; font-weight: 700; margin: 0 0 6px; letter-spacing: 1px; }
.brand-sub { font-size: 13px; opacity: .8; margin: 0 0 18px; }
.brand-illustration { width: 100%; max-width: 280px; margin: 6px auto 18px; display: block; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .25)); }
.brand-points { list-style: none; padding: 0; margin: auto 0 0; font-size: 14px; }
.brand-points li { margin-bottom: 8px; opacity: .95; }
.brand-points i { color: #86efac; margin-right: 6px; }

/* right form card */
.login-card {
    flex: 1 1 50%;
    background: #fff;
    padding: 48px 44px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-card-head { text-align: center; margin-bottom: 22px; }
.lock-icon {
    width: 58px; height: 58px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .35);
}
.login-card-head h2 { font-size: 24px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.login-card-head p { color: #64748b; margin: 0; font-size: 14px; }

.login-field { margin-bottom: 18px; }
.login-field label { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; display: block; }
.input-wrap { position: relative; }
.input-wrap .field-icon {
    position: absolute; left: 14px; top: 16px;
    color: #94a3b8; font-size: 15px; pointer-events: none;
}
.input-wrap .form-control {
    height: 48px;
    padding-left: 42px;
    padding-right: 44px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.input-wrap .form-control:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.input-wrap .form-control.is-invalid { border-color: #dc2626; background-image: none; }
.input-wrap .invalid-feedback { margin: 6px 0 0; }
.toggle-pass {
    position: absolute; right: 8px; top: 7px;
    width: 34px; height: 34px;
    border: 0; background: transparent;
    color: #94a3b8; border-radius: 8px;
}
.toggle-pass:hover { color: #2563eb; background: #eff6ff; }

.btn-login {
    height: 50px;
    margin-top: 6px;
    border: 0;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    box-shadow: 0 12px 24px rgba(37, 99, 235, .3);
    transition: transform .1s, box-shadow .15s, filter .15s;
}
.btn-login:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 14px 28px rgba(37, 99, 235, .38); }
.btn-login:active { transform: translateY(1px); }
.btn-login:disabled { opacity: .7; }

.login-card .message .alert { border-radius: 10px; font-size: 14px; }
.login-foot { margin-top: 22px; text-align: center; font-size: 13px; color: #94a3b8; }
.login-copy { position: relative; z-index: 1; margin-top: 18px; color: rgba(255, 255, 255, .55); font-size: 12px; }

@media (max-width: 767px) {
    .login-shell { flex-direction: column; min-height: 0; }
    .login-brand { padding: 26px 24px 20px; }
    .brand-illustration, .brand-points { display: none; }
    .brand-title { font-size: 22px; }
    .login-card { padding: 30px 22px 24px; }
}
