/* SherGuard login and register pages.
   Dashboard/module CSS intentionally excluded in Phase 1. */
/* ===== Public Auth Pages ===== */

.auth-page {
    margin: 0;
    min-height: 100vh;
    background:
      radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 34%),
      linear-gradient(135deg, #020617 0%, #0f172a 52%, #111827 100%);
    color: #ffffff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  
  .auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 48px;
    align-items: center;
    padding: 54px 7%;
  }
  
  .auth-brand-panel {
    max-width: 720px;
  }
  
  .auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 44px;
  }
  
  .auth-logo span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-weight: 900;
  }
  
  .auth-logo strong {
    font-size: 18px;
  }
  
  .auth-brand-panel h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }
  
  .auth-brand-panel p {
    margin: 24px 0 0;
    max-width: 650px;
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.75;
  }
  
  .auth-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
  }
  
  .auth-feature-list div {
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #dbeafe;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .auth-card {
    width: 100%;
    padding: 38px;
    border-radius: 28px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  }
  
  .auth-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  
  .auth-card h2 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.04em;
  }
  
  .auth-card > p {
    margin: 12px 0 26px;
    color: #64748b;
    line-height: 1.6;
  }
  
  .auth-form-group {
    margin-bottom: 16px;
  }
  
  .auth-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
  }
  
  .auth-form-group input {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #0f172a;
    font-size: 15px;
  }
  
  .auth-form-group input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  }
  
  .auth-btn {
    width: 100%;
    min-height: 48px;
    border: none;
    border-radius: 14px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.24);
  }
  
  .auth-btn:hover {
    background: #1d4ed8;
  }
  
  .auth-status-box {
    display: none;
    margin-top: 18px;
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
  }
  
  .auth-status-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
  }
  
  .auth-status-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
  }
  
  .auth-switch {
    margin-top: 22px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
  }
  
  .auth-switch a,
  .auth-footer-links a {
    color: #2563eb;
    font-weight: 800;
    text-decoration: none;
  }
  
  .auth-footer-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    font-size: 13px;
  }

  .auth-password-wrapper {
    position: relative;
  }
  
  .auth-password-wrapper input {
    padding-right: 82px;
  }
  
  .auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #2563eb;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
  }
  
  .auth-password-toggle:hover {
    color: #1d4ed8;
  }
  
  
  
  