/* ═══════════════════════════════════════════════════════════════
   CustomInvoice.xyz  –  Auth Pages (Login / Register)
   ═══════════════════════════════════════════════════════════════ */
.auth-wrap {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: var(--bg);
}
.auth-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-logo { text-align: center; margin-bottom: 28px; }
.auth-logo a { font-size: 1.5rem; font-weight: 900; color: var(--primary); text-decoration: none; }
.auth-logo a span { color: var(--accent); }
.auth-card h1 { font-size: 1.5rem; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-card p.sub { text-align: center; color: var(--text-muted); font-size: .875rem; margin-bottom: 28px; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .form-label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
.auth-form .form-control { padding: 10px 14px; font-size: .95rem; }
.auth-form .btn { width: 100%; padding: 12px; font-size: .95rem; margin-top: 8px; }
.auth-form .btn-primary { background: var(--primary); color: #fff; border: none; border-radius: var(--radius); cursor: pointer; font-weight: 700; transition: background .15s; }
.auth-form .btn-primary:hover { background: var(--primary-dark); }
.auth-switch { text-align: center; margin-top: 20px; font-size: .875rem; color: var(--text-muted); }
.auth-switch a { color: var(--primary); font-weight: 600; }
.auth-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; border-radius: var(--radius); padding: 10px 14px; font-size: .875rem; margin-bottom: 16px; }
.auth-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; border-radius: var(--radius); padding: 10px 14px; font-size: .875rem; margin-bottom: 16px; }
.auth-divider { text-align: center; color: var(--text-muted); font-size: .8rem; margin: 16px 0; position: relative; }
.auth-divider::before, .auth-divider::after { content: ''; display: inline-block; width: 40%; height: 1px; background: var(--border); vertical-align: middle; margin: 0 8px; }
