/* Trang đăng nhập Gateway Admin (/admin/login) */
.lg-body { margin: 0; min-height: 100vh; background: #f1f4f8; color: #1f2937; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.lg-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; }

/* Cột giới thiệu */
.lg-brand { background: #0f1b2d; color: #e5ebf3; padding: 48px 56px; display: flex; flex-direction: column; gap: 48px; position: relative; overflow: hidden; }
.lg-brand::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }
.lg-brand > * { position: relative; z-index: 1; }
.lg-logo { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .2px; }
.lg-brand-body { margin-top: auto; margin-bottom: auto; max-width: 420px; }
.lg-brand-body h2 { font-size: 30px; font-weight: 700; color: #fff; line-height: 1.25; margin: 0 0 20px; }
.lg-brand-body ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lg-brand-body li { padding-left: 26px; position: relative; color: #c6d1df; line-height: 1.5; }
.lg-brand-body li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 3px; border: 2px solid #5b9bff; }
.lg-brand-foot { font-size: 13px; color: #9aa8bb; }

/* Cột form */
.lg-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 24px; }
.lg-form { width: 100%; max-width: 400px; background: #fff; border: 1px solid #e3e8ef; border-radius: 14px; padding: 36px 32px; box-shadow: 0 10px 30px rgba(15, 27, 45, .06); }
.lg-mobile-logo { display: none; font-weight: 700; font-size: 18px; color: #0f1b2d; margin-bottom: 20px; }
.lg-title { font-size: 26px; font-weight: 700; margin: 0 0 6px; color: #0f1b2d; }
.lg-sub { color: #5b6574; font-size: 14px; margin: 0 0 24px; }
.lg-form .form-label { font-size: 13px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.lg-form .form-control { padding: 10px 12px; border-color: #cfd6df; }
.lg-form .form-control:focus { border-color: #0d6efd; box-shadow: 0 0 0 3px rgba(13, 110, 253, .15); }
.lg-eye { min-width: 46px; display: inline-flex; align-items: center; justify-content: center; border-color: #cfd6df; color: #4b5563; }
.lg-alert { font-size: 14px; padding: 10px 12px; margin-bottom: 18px; }
.lg-submit { padding: 11px; font-weight: 600; font-size: 15px; border-radius: 8px; }
.lg-note { font-size: 12px; color: #6b7280; margin: 16px 0 0; line-height: 1.5; }
.lg-foot { margin-top: 24px; font-size: 12px; color: #6b7280; text-align: center; }

/* Bước đăng nhập + OTP */
.lg-steps { display: flex; gap: 6px; margin-bottom: 18px; font-size: 12px; font-weight: 600; }
.lg-steps span { flex: 1 1 0; padding-top: 8px; border-top: 3px solid #e3e8ef; color: #8a94a3; }
.lg-steps .is-current { border-top-color: #0d6efd; color: #0d6efd; }
.lg-steps .is-done { border-top-color: #198754; color: #198754; }
.lg-sub code { color: #b02a37; }
.lg-otp { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 28px !important; font-weight: 600; letter-spacing: .45em;
    text-align: center; padding: 12px !important; }
.lg-otp::placeholder { letter-spacing: .2em; }
.lg-otp-meta { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 18px; font-size: 13px; color: #5b6574; }
.lg-otp-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 14px; font-size: 14px; }
.lg-otp-actions .btn-link { font-size: 14px; text-decoration: none; }
.lg-otp-actions .btn-link:disabled { color: #8a94a3; opacity: 1; }

@media (max-width: 991.98px) {
    .lg-shell { grid-template-columns: 1fr; }
    .lg-brand { display: none; }
    .lg-mobile-logo { display: block; }
    .lg-panel { justify-content: flex-start; padding-top: 48px; }
}
@media (max-width: 480px) {
    .lg-form { padding: 28px 20px; border-radius: 12px; }
    .lg-panel { padding: 24px 12px; }
}
