
/* ============================================================
   OMS SaaS Authentication UI - Global Stylesheet
   Author: Senior Frontend Developer
   Description: Modern, professional multi-tenant auth UI
   ============================================================ */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ---------- CSS Custom Properties (Light Mode) ---------- */
:root {
  /* Brand Gradient */
  --gradient-start: #7c3aed;
  --gradient-mid: #6d28d9;
  --gradient-end: #2563eb;

  /* Backgrounds */
  --bg-page: #f0f4ff;
  --bg-card: #ffffff;
  --bg-input: #f8faff;
  --bg-input-focus: #ffffff;

  /* Text Colors */
  --text-primary: #1e1b4b;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --text-white: #ffffff;
  --text-white-muted: rgba(255,255,255,0.75);

  /* Brand Colors */
  --brand-purple: #7c3aed;
  --brand-blue: #2563eb;
  --brand-purple-light: rgba(124, 58, 237, 0.1);

  /* Borders */
  --border-color: #e5e7eb;
  --border-focus: #7c3aed;
  --border-error: #ef4444;
  --border-success: #10b981;

  /* Feedback Colors */
  --error-bg: #fef2f2;
  --error-text: #dc2626;
  --success-bg: #f0fdf4;
  --success-text: #16a34a;

  /* Shadows */
  --shadow-card: 0 20px 60px rgba(124, 58, 237, 0.12), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-input: 0 2px 8px rgba(124, 58, 237, 0.08);
  --shadow-btn: 0 4px 20px rgba(124, 58, 237, 0.4);
  --shadow-btn-hover: 0 8px 30px rgba(124, 58, 237, 0.55);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Typography */
  --font-primary: 'Inter', 'Poppins', sans-serif;
}

/* ---------- Dark Mode Variables ---------- */
[data-theme="dark"] {
  --bg-page: #0f0e1a;
  --bg-card: #1a1827;
  --bg-input: #231f35;
  --bg-input-focus: #2a2640;

  --text-primary: #f1f0ff;
  --text-secondary: #a8a3c5;
  --text-muted: #6d6a85;

  --border-color: #2e2a45;
  --border-focus: #a78bfa;

  --shadow-card: 0 20px 60px rgba(0,0,0,0.5), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-btn: 0 4px 20px rgba(124, 58, 237, 0.5);
  --shadow-btn-hover: 0 8px 30px rgba(124, 58, 237, 0.7);

  --error-bg: rgba(239,68,68,0.1);
  --success-bg: rgba(16,185,129,0.1);
}

/* ---------- CSS Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

/* body {
  font-family: var(--font-primary);
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  transition: background-color var(--transition-slow), color var(--transition-slow);
  overflow-x: hidden;
} */

/* ============================================================
   LAYOUT: SPLIT SCREEN
   ============================================================ */

.auth-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ---------- LEFT PANEL (Branding) ---------- */
.auth-left {
  flex: 1;
  background: linear-gradient(145deg, var(--gradient-start) 0%, var(--gradient-mid) 40%, var(--gradient-end) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}

/* Decorative background circles */
.auth-left::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}

.auth-left::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  pointer-events: none;
}

/* Floating decorative orb */
.orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  pointer-events: none;
}

.orb-1 {
  width: 180px;
  height: 180px;
  top: 30%;
  right: 10%;
  animation: floatOrb 6s ease-in-out infinite;
}

.orb-2 {
  width: 100px;
  height: 100px;
  bottom: 25%;
  right: 20%;
  animation: floatOrb 8s ease-in-out infinite reverse;
}

.orb-3 {
  width: 60px;
  height: 60px;
  top: 15%;
  left: 40%;
  animation: floatOrb 5s ease-in-out infinite 1s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

/* Brand logo area */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 56px;
  position: relative;
  z-index: 1;
}

.brand-logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
}

.brand-logo-icon svg {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}

.brand-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.brand-logo-text span {
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}

/* Brand content */
.brand-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.brand-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.brand-heading {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
}

.brand-tagline span {
  color: rgba(255,255,255,0.6);
}

.brand-description {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Feature list on left panel */
.brand-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
}

.feature-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}

/* Stat cards on left panel */
.brand-stats {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  backdrop-filter: blur(10px);
  flex: 1;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ---------- RIGHT PANEL (Form) ---------- */
.auth-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 48px;
  background-color: var(--bg-card);
  position: relative;
  overflow-y: auto;
  transition: background-color var(--transition-slow);
}

/* Dark mode toggle button */
.dark-mode-toggle {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
  z-index: 10;
  outline: none;
}

.dark-mode-toggle:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
  transform: rotate(15deg);
  box-shadow: 0 2px 12px rgba(124,58,237,0.2);
}

/* Form card wrapper */
.form-card {
  width: 100%;
  max-width: 440px;
  animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- FORM HEADER ---------- */
.form-header {
  margin-bottom: 36px;
}

.form-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-color);
  transition: all var(--transition-normal);
}

.step-dot.active {
  background: var(--brand-purple);
  width: 24px;
  border-radius: 4px;
}

.form-title {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- FORM ELEMENTS ---------- */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.form-label .required {
  color: var(--error-text);
  margin-left: 3px;
}

/* Input wrapper for icons */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 1rem;
  pointer-events: none;
  transition: color var(--transition-fast);
  z-index: 1;
}

.input-icon-right {
  position: absolute;
  right: 14px;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: color var(--transition-fast);
  z-index: 1;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
}

.input-icon-right:hover {
  color: var(--brand-purple);
}

/* Input field */
.form-control {
  width: 100%;
  height: 50px;
  padding: 0 44px 0 44px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-normal);
  -webkit-appearance: none;
  appearance: none;
}

.form-control:not(.has-left-icon) {
  padding-left: 16px;
}

.form-control:not(.has-right-icon) {
  padding-right: 16px;
}

.form-control::placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.form-control:focus {
  border-color: var(--border-focus);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

.form-control:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--brand-purple);
}

/* Error state */
.form-control.error {
  border-color: var(--border-error);
  background: var(--error-bg);
  box-shadow: 0 0 0 4px rgba(239,68,68,0.08);
}

/* Success state */
.form-control.success {
  border-color: var(--border-success);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.08);
}

/* Error message */
.field-error {
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--error-text);
  margin-top: 6px;
  font-weight: 500;
  animation: shakeIn 0.3s ease;
}

.field-error.visible {
  display: flex;
}

@keyframes shakeIn {
  0% { transform: translateX(-5px); opacity: 0; }
  50% { transform: translateX(5px); }
  100% { transform: translateX(0); opacity: 1; }
}

/* Phone input with prefix */
.phone-input-group {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-input);
  transition: all var(--transition-normal);
}

.phone-input-group:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(124,58,237,0.06);
  border-right: 1.5px solid var(--border-color);
  white-space: nowrap;
  gap: 6px;
  flex-shrink: 0;
}

.phone-input-group .form-control {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding-left: 12px;
}

.phone-input-group.error {
  border-color: var(--border-error);
}

/* Subdomain / domain preview box */
.domain-preview {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(124,58,237,0.06);
  border: 1.5px dashed var(--brand-purple);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 10px;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.domain-preview-icon {
  font-size: 0.85rem;
  margin-right: 8px;
  flex-shrink: 0;
}

.domain-preview-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: 'Courier New', monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.domain-preview-text strong {
  color: var(--brand-purple);
  font-weight: 700;
}

/* Password strength meter */
.password-strength {
  margin-top: 8px;
}

.strength-bar-container {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}

.strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border-color);
  transition: background var(--transition-normal);
}

.strength-bar.active-weak { background: #ef4444; }
.strength-bar.active-fair { background: #f59e0b; }
.strength-bar.active-good { background: #3b82f6; }
.strength-bar.active-strong { background: #10b981; }

.strength-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-normal);
}

/* ---------- CHECKBOX & TOGGLE ---------- */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 5px;
  background: var(--bg-input);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.custom-checkbox.checked {
  background: var(--brand-purple);
  border-color: var(--brand-purple);
}

.custom-checkbox.checked::after {
  content: '';
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}

.checkbox-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

/* ---------- LINKS ---------- */
.form-link {
  color: var(--brand-purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color var(--transition-fast);
  position: relative;
}

.form-link::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--brand-purple);
  transition: width var(--transition-normal);
}

.form-link:hover::after { width: 100%; }
.form-link:hover { color: #6d28d9; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-md);
  border: none;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  letter-spacing: 0.2px;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(0.98); }

/* Primary button */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
}

.btn-primary:active { transform: translateY(0); }

/* Loading state */
.btn-primary.loading {
  pointer-events: none;
  opacity: 0.85;
}

.btn-primary.loading .btn-text { opacity: 0; }
.btn-primary.loading .btn-spinner { display: flex; }

.btn-spinner {
  display: none;
  position: absolute;
  align-items: center;
  gap: 6px;
}

.spinner-ring {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- DIVIDERS & EXTRAS ---------- */
.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.form-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 0.87rem;
  color: var(--text-secondary);
}

.form-footer a {
  color: var(--brand-purple);
  font-weight: 600;
  text-decoration: none;
}

.form-footer a:hover { text-decoration: underline; }

/* Divider */
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border-color);
}

.divider-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

/* Alert / Notification banner */
.alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: slideDown 0.3s ease;
}

.alert.visible { display: flex; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid rgba(239,68,68,0.2);
}

.alert-success {
  background: var(--success-bg);
  color: var(--success-text);
  border: 1px solid rgba(16,185,129,0.2);
}

.alert-icon { font-size: 1rem; flex-shrink: 0; }

/* ---------- SELECT (for country code etc) ---------- */
.form-select {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all var(--transition-normal);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(124,58,237,0.1);
}

/* ---------- GRID LAYOUT FOR FORM ---------- */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---------- SCROLLBAR STYLING ---------- */
.auth-right::-webkit-scrollbar { width: 6px; }
.auth-right::-webkit-scrollbar-track { background: transparent; }
.auth-right::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

/* ---------- TRUST BADGES ---------- */
.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-badge-icon {
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .auth-left {
    flex: 0.85;
    padding: 48px 40px;
  }

  .auth-right {
    flex: 1.15;
    padding: 40px 36px;
  }

  .brand-stats {
    gap: 12px;
  }

  .stat-number { font-size: 1.3rem; }
}

/* Tablet portrait (max 768px) - stacked layout */
@media (max-width: 768px) {
  body {
    align-items: flex-start;
  }

  .auth-container {
    flex-direction: column;
    min-height: 100vh;
  }

  .auth-left {
    flex: none;
    min-height: 260px;
    padding: 36px 32px;
    align-items: center;
    text-align: center;
  }

  .brand-logo {
    margin-bottom: 24px;
  }

  .brand-content {
    max-width: 100%;
  }

  .brand-stats {
    justify-content: center;
    margin-top: 24px;
  }

  .brand-features {
    align-items: flex-start;
    display: none;
  }

  .auth-left::before,
  .auth-left::after { display: none; }
  .orb { display: none; }

  .auth-right {
    flex: none;
    padding: 40px 28px;
    min-height: calc(100vh - 260px);
  }

  .form-card {
    max-width: 100%;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .brand-tagline { font-size: 1.6rem; }
  .brand-description { display: none; }
}

/* Mobile (max 480px) */
@media (max-width: 480px) {
  .auth-left {
    padding: 28px 20px;
    min-height: 220px;
  }

  .auth-right {
    padding: 32px 20px 40px;
  }

  .brand-stats {
    gap: 10px;
  }

  .stat-card {
    padding: 12px 14px;
  }

  .stat-number { font-size: 1.1rem; }
  .stat-label { font-size: 0.68rem; }

  .brand-tagline { font-size: 1.35rem; }
  .brand-heading { font-size: 0.8rem; }

  .form-title { font-size: 1.5rem; }

  .trust-badges {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dark-mode-toggle {
    top: 16px;
    right: 16px;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.hidden { display: none !important; }
.visible { display: block !important; }
