.auth-bg {
    background: url('/static/web/images/auth-bg.svg') center top / cover no-repeat, #f6f8fb;
    min-height: 100vh;
}

.auth-brand-img { height: 40px; }
.auth-brand-title { font-weight: 600; letter-spacing: .5px; }
.auth-panel-title { color: #0f172a; font-weight: 600; }
.auth-panel-icon { color: #3b82f6; font-size: 1.25rem; }

.form-auth { max-width: 520px; padding: 1.5rem; margin: 0 auto; }
@media (max-width: 991.98px) {
  .form-auth { max-width: 440px; }
}
@media (max-width: 575.98px) {
  .form-auth { max-width: 100%; padding: 1rem; }
}

.auth-panel { background: #fff; border: 1px solid #e9ecef; border-radius: 12px; box-shadow: 0 4px 24px rgba(0,0,0,0.06); padding: 1.5rem; }

.auth-card .card-header { background: #fff; color: #0f172a; border-bottom: 1px solid #eef2f7; }

.auth-panel .form-label { font-weight: 600; color: #334155; }
.auth-panel .form-control { border-radius: 10px; padding: 0.6rem 1rem; height: 44px; }
.auth-panel .form-control.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 0.12rem rgba(239,68,68,0.2); }
.field-error { color: #ef4444; font-size: 12px; margin-top: 4px; display: none; }
.auth-panel .form-control:focus { box-shadow: 0 0 0 0.2rem rgba(37,99,235,0.25); }

.auth-actions { display: flex; justify-content: space-between; align-items: center; }

.captcha-img { height: 44px; cursor: pointer; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; }

.agreement { font-size: 0.9rem; color: #64748b; }

.tab-pane { padding-top: 0.75rem; }

.btn-primary { box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25); height: 44px; }

/* 等高等宽的右侧控件（图形验证码/发送验证码按钮） */
.auth-eq {
    height: 44px !important;
    width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 14px;
}
.btn.auth-eq { padding: 0; }
.auth-eq img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* 仿照 Bootstrap v5 sign-in 示例的按钮与行距节奏 */
.auth-submit { padding-top: .5rem; padding-bottom: .5rem; }


