/* ============================================================
   Soft Academic theme for the account pages
   Loaded after main.css and app.css on signin, signup and
   forgot-password only, so the signed-in app pages are untouched.
   Colours match css/site.css.
   ============================================================ */
:root {
  --primary: #1F4D3A;
  --primary-dark: #163A2B;
  --primary-light: #EFE9DA;
  --accent: #1F4D3A;
  --accent-light: #EFE9DA;
  --dark: #1E2A25;
  --gray-900: #28382F;
  --gray-700: #46524B;
  --gray-600: #5F6B64;
  --gray-500: #5F6B64;
  --gray-400: #7C8780;
  --gray-300: #CFC6B2;
  --gray-200: #E6DFD0;
  --gray-100: #F7F2E7;
  --gray-50: #FBF7EF;
  --white: #FFFDF8;
  --radius: 8px;
  --radius-lg: 8px;
  --radius-xl: 8px;
  --font: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --head: 'Lora', Georgia, 'Times New Roman', serif;
}

html body { font-family: var(--font); font-size: 17px; color: var(--dark); background: var(--gray-50); }
.auth-page h2 { font-family: var(--head); font-weight: 600 !important; letter-spacing: -0.008em; }

/* Left panel */
.auth-page .auth-visual { background: var(--dark); }
.auth-visual::before { display: none; }
.auth-visual-content p { color: #D3DAD4; }
.auth-page .logo .brilia-mark { width: 35.2px !important; height: 35.2px !important; }
.auth-page .logo .brilia-mark rect { fill: var(--primary); }
.auth-page .logo .brilia-word { font-family: var(--head); font-weight: 600; font-size: 1.43rem; letter-spacing: -0.008em; color: #FFFDF8; }
.auth-page .logo .brilia-word::after { content: "A Pathmentor company"; display: block; margin-top: 3px; font-family: var(--font); font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: #D3DAD4; }
.auth-page .logo .wm-i { color: inherit; }

/* Form */
.auth-form-panel { background: var(--gray-50); }
.auth-form-inner .auth-sub { font-size: 1rem; }
.auth-page .form-label { font-weight: 600; font-size: 0.95rem; }
.auth-page .form-input,
.auth-page .form-select,
.auth-page .code-input input { font-family: var(--font); font-size: 1rem; border: 1px solid var(--gray-300); border-radius: var(--radius); background: #FFFDF8; }
.auth-page .form-input:focus,
.auth-page .form-select:focus { border-color: var(--primary); box-shadow: none; }
.auth-page .btn-primary { border-radius: var(--radius); font-weight: 600; box-shadow: none; }
.auth-page .btn-primary:hover { background: var(--primary-dark); transform: none; box-shadow: none; }
.social-login-btn { background: #FFFDF8; border: 1px solid var(--gray-300); border-radius: var(--radius); font-weight: 600; }
.social-login-btn:hover { background: #FFFDF8; border-color: var(--dark); }
.role-option { border: 1px solid var(--gray-300); border-radius: var(--radius); background: #FFFDF8; }
.role-option.selected { border: 2px solid var(--primary); background: #FFFDF8; }
.role-option .role-name { font-weight: 600; font-size: 0.95rem; }
.role-option .role-desc { font-size: 0.8rem; }
.auth-switch { font-size: 0.95rem; }
.auth-switch a { color: var(--primary); }
.auth-page a[style*="color:var(--primary)"] { text-decoration: underline; }

/* Password reset steps */
.auth-page .st-dot { font-weight: 600; }
.auth-page .st-label { font-size: 0.75rem; font-weight: 500; color: var(--gray-500); }
.auth-page .st.active .st-label { font-weight: 600; }
.auth-page .req { font-size: 0.85rem; }
