/* Agent-only presentation: do not alter shared admin or authentication styles. */
.agent-login-page {
    margin: 0;
    background: #f3f3f4;
    color: #24364b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
.agent-login-page * { box-sizing: border-box; }
#agent-login-network { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.agent-login-layout { position: relative; display: grid; grid-template-columns: minmax(390px, 480px) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
/* Original left-hand Mobang login values, scoped here without its external font import. */
.agent-login-main { min-width: 0; background: #fff; padding: 0 15px; font-size: 14px; font-family: "Roboto", "Microsoft YaHei", sans-serif; color: #212529; }
.agent-login-main .card { background: #fff; border: 0; border-radius: 3px; }
.agent-login-main .card-body { padding: 24px 20px 20px; }
.agent-login-mark { width: 68px; height: 68px; object-fit: cover; border-radius: 16px; border: 1px solid rgba(42,207,218,.24); box-shadow: 0 10px 26px rgba(10,42,68,.16); }
.agent-login-main .media-body { min-width: 0; }
.agent-login-main .media-body h4 { font-size: 18px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
.agent-login-main .media-body p { font-size: 14px; color: #98a6ad !important; overflow-wrap: anywhere; }
.agent-login-eyebrow { color: #188882; font-size: 12px; font-weight: 600; letter-spacing: 2px; margin: 0 0 12px; overflow-wrap: anywhere; }
.agent-login-main .form-group { margin-bottom: 20px; }
.agent-login-main label { color: #6c757d; font-size: 14px; margin-bottom: 8px; font-weight: 500; }
.agent-login-main .input-group { flex-wrap: wrap; }
.agent-login-main .form-control { height: calc(2.3rem + 2px); min-width: 0; font-size: 14px; color: #495057; border-color: #e9ecef; border-radius: 0 4px 4px 0; }
.agent-login-main .form-control::placeholder { color: #6c757d; }
.agent-login-main .form-control:focus { border-color: #5766da; box-shadow: none; z-index: 3; }
.agent-login-main .input-group-text { background: #f8f9fa; border-color: #e9ecef; color: #495057; font-size: 14px; border-radius: 4px 0 0 4px; justify-content: center; }
.agent-login-main .font-16 { font-size: 16px; }
.agent-login-main .agent-login-captcha { min-width: 90px; font-size: 15px; }
.agent-login-main .input-group label.error { flex-basis: 100%; order: 3; color: #b83939; margin: 6px 0 0; font-size: 12px; }
.agent-login-main .btn { min-height: 38px; white-space: normal; border-radius: 3px; font-size: 14px; line-height: 24px; color: #fff; }
.agent-login-main .btn-primary { background: #5766da; border-color: #5766da; box-shadow: 0 2px 6px rgba(87,102,218,.5); }
.agent-login-main .btn-primary:hover, .agent-login-main .btn-primary:focus { background: #4253d5; border-color: #4253d5; }
.agent-login-main .btn-primary:disabled, .agent-login-main .btn-primary.disabled { background: #4253d5; border-color: #4253d5; opacity: .65; }
.agent-login-main .btn-info { background: #00bcd4; border-color: #00bcd4; box-shadow: 0 2px 6px rgba(0,188,212,.5); }
.agent-login-main .btn-info:hover, .agent-login-main .btn-info:focus { background: #00a5bb; border-color: #00a5bb; }
.agent-login-main .btn-warning { background: #fbb624; border-color: #fbb624; box-shadow: 0 2px 6px rgba(251,182,36,.5); }
.agent-login-main .btn-warning:hover, .agent-login-main .btn-warning:focus { background: #fbae0b; border-color: #fbae0b; }
.agent-login-page a:focus-visible, .agent-login-page button:focus-visible { outline: 3px solid #148b89; outline-offset: 4px; }
.agent-login-notice { color: #5766da !important; background: #f8f9fa !important; }
.agent-login-notice h5 { font-size: 15px; line-height: 18px; font-weight: 600; margin: 10px 0; overflow-wrap: anywhere; }
.agent-login-notice p { font-size: 13px; line-height: 1.5; margin-bottom: 16px; }
.agent-login-hero-pane { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 70px 40px 90px; background: radial-gradient(ellipse at 50% 30%, rgba(212,237,237,.65), transparent 65%); }
.agent-login-hero { width: 100%; max-width: 520px; text-align: center; }
.agent-login-orbit { position: relative; width: 248px; height: 248px; display: grid; place-items: center; margin: 0 auto 36px; }
.agent-login-orbit::before, .agent-login-orbit::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(33,145,150,.16); border-radius: 50%; }
.agent-login-orbit::after { inset: -18px; border-style: dashed; border-color: rgba(33,145,150,.12); }
.agent-login-visual { position: relative; width: 176px; height: 176px; border-radius: 26px; object-fit: cover; box-shadow: 0 16px 40px rgba(15,42,68,.18); border: 1px solid rgba(31,177,196,.22); }
.agent-login-hero .agent-login-eyebrow { margin-bottom: 18px; }
.agent-login-hero h2 { color: #24364b; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.45; font-weight: 600; letter-spacing: 1px; margin: 0 0 22px; }
.agent-login-description { color: #637789; font-size: 14px; line-height: 1.9; margin-bottom: 30px; }
.agent-login-capabilities { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-size: 12px; color: #537184; }
.agent-login-capabilities span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #259e9a; margin: 0 8px 2px 0; }
.agent-login-hero-footer { position: absolute; bottom: 28px; left: 0; right: 0; text-align: center; color: #748596; font-size: 10px; letter-spacing: 3px; margin: 0; }
#agent-login-motion { position: fixed; bottom: 18px; right: 20px; padding: 7px 11px; background: rgba(255,255,255,.92); border: 1px solid #d7e3e7; border-radius: 6px; color: #536c7d; font-size: 11px; cursor: pointer; z-index: 5; }
#agent-login-motion[hidden] { display: none; }
@media (max-width: 767.98px) {
    .agent-login-layout { display: block; min-height: 0; padding: 0; }
    .agent-login-main { margin: 0 auto; padding: 0 15px; }
    .agent-login-hero-pane { display: none; }
    .agent-login-main .form-control { font-size: 16px; }
    .agent-login-main .form-control::placeholder { font-size: 12px; }
    #agent-login-motion { position: relative; display: block; bottom: auto; right: auto; margin: 12px 18px 18px auto; }
}
@media (max-width: 359px) {
    .agent-login-main { padding: 0 5px; }
    .agent-login-main .card-body { padding: 16px 10px; }
    .agent-login-main .agent-login-captcha { min-width: 80px; }
}
