*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary:    #1a3a5c;
  --primary-lt: #2563a8;
  --accent:     #e8a020;
  --accent-lt:  #f5c55a;
  --success:    #16a34a;
  --danger:     #dc2626;
  --white:      #ffffff;
  --text:       #1e293b;
  --muted:      #64748b;
  --border:     #e2e8f0;
  --bg:         #f8fafc;
}
body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px; line-height: 1.6;
  background: var(--bg); color: var(--text);
  min-height: 100vh; display: flex;
}
.auth-split { display: flex; width: 100%; min-height: 100vh; }
.auth-left {
  width: 55%;
  background: linear-gradient(145deg, #0d1f33 0%, #1a3a5c 40%, #0f2940 80%, #1c4a7a 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 60px 50px; color: white;
}
.auth-left::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(37,99,168,.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(232,160,32,.15) 0%, transparent 50%);
}
.auth-left::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px; z-index: 1;
}
.auth-left-inner { position: relative; z-index: 2; width: 100%; max-width: 440px; }
.left-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 52px; }
.left-logo-icon {
  width: 48px; height: 48px; background: var(--accent); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900; color: var(--primary); flex-shrink: 0;
}
.left-logo-text { font-size: 22px; font-weight: 800; letter-spacing: -1px; }
.left-logo-text span { color: var(--accent-lt); }
.left-hero-tag {
  display: inline-block; background: rgba(232,160,32,.2);
  border: 1px solid rgba(232,160,32,.4); color: var(--accent-lt);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
}
.left-hero-title { font-size: 32px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.left-hero-title span { color: var(--accent-lt); }
.left-hero-desc { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 40px; line-height: 1.7; }
.left-features { list-style: none; margin-bottom: 48px; }
.left-features li {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  color: rgba(255,255,255,.8); font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.left-features li:last-child { border: none; }
.feat-icon {
  width: 32px; height: 32px; background: rgba(255,255,255,.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0;
}
.left-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-num { font-size: 22px; font-weight: 800; color: var(--accent-lt); }
.trust-label { font-size: 11px; color: rgba(255,255,255,.5); }
.auth-right {
  width: 45%; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 48px;
  background: var(--white); overflow-y: auto;
}
.auth-form-wrap { width: 100%; max-width: 400px; }
.right-logo { display: none; text-align: center; margin-bottom: 28px; }
.right-logo-inner { display: inline-flex; align-items: center; gap: 10px; }
.right-logo-icon {
  width: 40px; height: 40px; background: var(--primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px; color: white;
}
.right-logo-text { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -1px; }
.right-logo-text span { color: var(--accent); }
.form-title { font-size: 24px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.form-subtitle { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-label .req { color: var(--danger); margin-left: 2px; }
.form-control {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-family: Helvetica, Arial, sans-serif; color: var(--text);
  background: var(--white); transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-control:focus { border-color: var(--primary-lt); box-shadow: 0 0 0 3px rgba(37,99,168,.12); }
.form-control.is-invalid { border-color: var(--danger); }
.invalid-feedback { display: block; font-size: 11px; color: var(--danger); margin-top: 4px; }
.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; }
.salutation-btn {
  padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  background: var(--white); color: var(--muted); font-size: 13px; cursor: pointer;
  white-space: nowrap; transition: all .2s;
}
.salutation-btn.selected, .salutation-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
.input-password { position: relative; }
.input-password .form-control { padding-right: 44px; }
.pwd-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: var(--muted); font-size: 16px; padding: 0;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none; font-family: Helvetica, Arial, sans-serif;
}
.btn-primary { background: var(--primary-lt); color: white; width: 100%; }
.btn-primary:hover { background: #1d4e94; }
.btn-demo { background: rgba(232,160,32,.15); color: var(--accent); border: 1.5px solid var(--accent); width: 100%; }
.btn-demo:hover { background: var(--accent); color: white; }
.form-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted); font-size: 12px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.form-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--muted); }
.form-footer a { color: var(--primary-lt); font-weight: 600; text-decoration: none; }
.form-check { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
.form-check input[type=checkbox] { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; accent-color: var(--primary-lt); cursor: pointer; }
.form-check label { font-size: 12px; color: var(--muted); cursor: pointer; }
.form-check label a { color: var(--primary-lt); }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 8px; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.alert ul { margin-top: 6px; padding-left: 16px; font-size: 12px; }
.trial-badge {
  background: linear-gradient(135deg, var(--accent), #f59e0b); color: white;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px;
  display: inline-block; margin-bottom: 20px;
}
.forgot-link { text-align: right; margin-top: -8px; margin-bottom: 14px; }
.forgot-link a { font-size: 12px; color: var(--primary-lt); text-decoration: none; }
@media (max-width: 900px) {
  .auth-left { display: none; }
  .auth-right { width: 100%; padding: 32px 24px; }
  .right-logo { display: block; }
}
