/* TFS - Auth Pages — translated from html/css/signup.css
   50/50 flex split, form vertically centred, Account Type cards,
   Botble Bootstrap class mapping. Loads last — no !important needed. */

html, body { margin:0; padding:0; min-height:100%; background:#fff; overflow-x:hidden; }

/* ============================================================
   SPLIT — 50 / 50
   ============================================================ */
.signup-split {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* ============================================================
   LEFT PANEL — sticky, dark navy, 50 %
   ============================================================ */
.signup-left {
  flex: 0 0 50%;
  width: 50%;
  background: linear-gradient(160deg, #0d1b3e 0%, #0a0f28 100%);
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.signup-logo { display:flex; align-items:center; gap:10px; text-decoration:none; margin-bottom:40px; }
.signup-logo-mark {
  width:34px; height:34px; border-radius:8px;
  background:var(--brand,#0057D9);
  display:flex; align-items:center; justify-content:center;
  font-family:'DM Serif Display',serif; font-size:15px; font-weight:700; color:#fff; flex-shrink:0;
}
.signup-logo-text { font-size:15px; font-weight:600; color:rgba(255,255,255,.8); line-height:1.2; }
.signup-logo-text .accent { color:#a8cffb; }
.signup-logo-sub { font-size:9px; color:rgba(255,255,255,.3); letter-spacing:.1em; text-transform:uppercase; }

.signup-left-content { margin-bottom:28px; }
.signup-left-title {
  font-family:'DM Serif Display',serif;
  font-size:26px; font-weight:700; color:#fff; line-height:1.2; margin-bottom:10px;
}
.signup-left-title em { font-style:italic; color:#a8cffb; }
.signup-left-sub { font-size:13px; color:rgba(255,255,255,.5); line-height:1.7; }

.signup-benefits { display:flex; flex-direction:column; gap:14px; margin-bottom:auto; }
.sb-item { display:flex; align-items:flex-start; gap:12px; }
.sb-icon {
  width:36px; height:36px; border-radius:9px;
  background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.sb-icon svg { width:16px; height:16px; stroke:#a8cffb; }
.sb-title { font-size:13px; font-weight:600; color:rgba(255,255,255,.85); margin-bottom:2px; }
.sb-desc  { font-size:12px; color:rgba(255,255,255,.4); line-height:1.5; }

.signup-left-stats {
  display:flex; align-items:center; gap:16px;
  padding-top:20px; border-top:1px solid rgba(255,255,255,.1); margin-top:20px;
}
.sl-stat { text-align:center; flex:1; }
.sl-val { font-family:'DM Serif Display',serif; font-size:20px; font-weight:700; color:#a8cffb; line-height:1; }
.sl-lbl { font-size:10px; color:rgba(255,255,255,.35); margin-top:3px; }
.sl-stat-div { width:1px; height:28px; background:rgba(255,255,255,.1); flex-shrink:0; }

.signup-left-circles {
  position:absolute; bottom:-80px; right:-80px;
  width:240px; height:240px; border-radius:50%;
  background:rgba(1,115,242,.12); pointer-events:none;
}

/* ============================================================
   RIGHT PANEL — 50 %, scroll, form vertically centred
   ============================================================ */
.signup-right {
  flex: 0 0 50%;
  width: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Top bar */
.signup-right-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 48px 18px;
  flex-shrink: 0;
}
.auth-back-home {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; color:var(--ink-muted,#6b7280); text-decoration:none; transition:color .15s;
}
.auth-back-home:hover { color:var(--ink,#111827); }
.signup-already { font-size:13px; color:var(--ink-muted,#6b7280); }
.signup-already a { color:var(--brand,#0057D9); font-weight:600; text-decoration:none; }
.signup-already a:hover { text-decoration:underline; }

/* Form area — vertically centred, form horizontally centred via margin auto */
.signup-form-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 48px 40px;
  width: 100%;
  max-width: 516px;
  margin-left: auto;
  margin-right: auto;
}
/* Reset: children fill the container */
.signup-form-area > *,
.signup-form-area .auth-form {
  width: 100%;
  max-width: none;
}

.step-eyebrow {
  font-size:11px; font-weight:700; color:var(--brand,#0057D9);
  text-transform:uppercase; letter-spacing:.1em; margin-bottom:6px;
}
.step-title {
  font-family:'DM Serif Display',serif;
  font-size:26px; font-weight:700; color:var(--ink,#0d0d0d);
  margin:0 0 6px; letter-spacing:-.02em;
}
.step-sub { font-size:13px; color:var(--ink-muted,#6b7280); margin-bottom:20px; line-height:1.6; }

/* Forgot password icon */
.auth-pw-icon {
  width:52px; height:52px; border-radius:12px;
  background:rgba(0,87,217,.08);
  display:flex; align-items:center; justify-content:center; margin-bottom:1.25rem;
}
.auth-back-login { margin-top:1.25rem; }
.auth-back-login a {
  display:inline-flex; align-items:center; gap:6px;
  font-size:13px; color:var(--ink-muted,#6b7280); text-decoration:none; transition:color .15s;
}
.auth-back-login a:hover { color:var(--brand,#0057D9); }

/* Alerts */
.signup-right .alert {
  padding:12px 16px; border-radius:10px; font-size:13px;
  margin-bottom:16px; border-width:1px; border-style:solid;
}
.signup-right .alert-success { background:#ecfdf3; border-color:#a3e6c7; color:#065f46; }
.signup-right .alert-danger  { background:#fef3f2; border-color:#fda29b; color:#7f1d1d; }
.signup-right .alert-warning { background:#fffaeb; border-color:#fde68a; color:#7c2d12; }

/* ============================================================
   FORM CONTROLS
   ============================================================ */
.signup-right label,
.signup-right .form-label {
  font-size:13px; font-weight:500; color:#3a3a3a; margin-bottom:6px; display:block;
}

.signup-right .form-control,
.signup-right .form-select {
  width:100%; padding:11px 14px;
  border:1.5px solid #e0e7ef; border-radius:10px;
  font-family:'DM Sans',sans-serif;
  font-size:14px; color:#0d0d0d; background:#fff;
  box-shadow:none; outline:none; height:auto;
  transition:border-color .18s, box-shadow .18s;
}
.signup-right .form-control:focus,
.signup-right .form-select:focus {
  border-color:var(--brand,#0057D9);
  box-shadow:0 0 0 3px rgba(0,87,217,.08);
}
.signup-right .form-control.is-invalid { border-color:#f04438; }
.signup-right .invalid-feedback { font-size:12px; color:#f04438; margin-top:4px; display:block; }

/* Input icons — hidden */
.signup-right .auth-input-icon,
.auth-input-icon.input-group-text { display:none !important; }

/* Remove extra left-padding Bootstrap ps-5 sets (needs !important to beat Bootstrap's util) */
.signup-right .form-control.ps-5 { padding-left:14px !important; }

/* Password eye toggle */
.signup-right .input-group { position:relative; }
.signup-right .input-group .form-control { border-radius:10px; padding-right:2.75rem; }
.signup-right .input-password-toggle {
  position:absolute; right:0; top:0; height:100%;
  display:flex; align-items:center; padding:0 12px;
  background:transparent; border:none; cursor:pointer; color:#9ca3af; z-index:3;
}
.signup-right .input-password-toggle svg { width:16px; height:16px; }

/* First name / last name side-by-side */
.signup-right .reg-name-row { display:flex; gap:12px; }
.signup-right .reg-name-col { flex:1; min-width:0; }

/* ============================================================
   CHECKBOX — "I agree to…" / "Remember me"
   ============================================================ */
.signup-right .form-check,
.signup-right form .form-check {
  display:flex; align-items:flex-start;
  gap:10px; padding:6px 0; padding-left:0; cursor:pointer; margin-bottom:4px;
}
.signup-right .form-check-input[type=checkbox] {
  appearance:none; -webkit-appearance:none;
  width:17px; height:17px; min-width:17px;
  border:2px solid #c4cdd6; border-radius:4px;
  background:#fff; cursor:pointer; margin:0; margin-top:2px;
  position:relative; display:inline-block; flex-shrink:0;
  transition:background .18s, border-color .18s;
}
.signup-right .form-check-input[type=checkbox]:checked {
  background:var(--brand,#0057D9); border-color:var(--brand,#0057D9);
}
.signup-right .form-check-input[type=checkbox]:checked::after {
  content:''; display:block; position:absolute;
  width:9px; height:5px;
  border-left:2px solid #fff; border-bottom:2px solid #fff;
  transform:rotate(-45deg) translateY(-2px);
  left:2px; top:4px;
}
.signup-right .form-check-label { font-size:13px; color:#4b5563; cursor:pointer; line-height:1.5; }

/* ============================================================
   ACCOUNT TYPE CARDS (radio-based)
   ============================================================ */
.signup-right .account-type-selection { margin-top:4px; }
.signup-right .account-type-selection .row { display:flex; gap:12px; margin:0; }
.signup-right .account-type-selection .col-md-6 { flex:1; min-width:0; padding:0; }

/* Hide the actual radio input visually */
.signup-right .account-type-option input[type=radio] {
  position:absolute; opacity:0; width:0; height:0; pointer-events:none;
}

/* Card label — the visible box */
.signup-right .account-type-label { cursor:pointer; display:block; height:100%; }
.signup-right .account-type-card {
  border:1.5px solid #e0e7ef;
  border-radius:12px;
  padding:16px 14px;
  display:flex; flex-direction:column; gap:10px;
  position:relative;
  transition:border-color .18s, background .18s, box-shadow .18s;
  background:#fff;
  user-select:none;
}
.signup-right .account-type-card:hover {
  border-color:var(--brand,#0057D9);
  background:rgba(0,87,217,.03);
}

/* Checkmark badge — hidden until selected */
.signup-right .account-type-check {
  position:absolute; top:10px; right:10px;
  width:20px; height:20px; border-radius:50%;
  background:var(--brand,#0057D9);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transform:scale(.6);
  transition:opacity .18s, transform .18s;
}
.signup-right .account-type-check svg { width:12px; height:12px; stroke:#fff; }

/* Type icon */
.signup-right .account-type-icon {
  width:40px; height:40px; border-radius:10px;
  background:rgba(0,87,217,.08);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.signup-right .account-type-icon svg { width:20px; height:20px; stroke:var(--brand,#0057D9); }

/* Text */
.signup-right .account-type-content h6 {
  font-size:14px; font-weight:600; color:#0d0d0d; margin:0 0 3px;
}
.signup-right .account-type-content p {
  font-size:12px; color:#6b7280; margin:0; line-height:1.4;
}

/* When radio is checked — activate card */
.signup-right .account-type-option input[type=radio]:checked + .account-type-label .account-type-card {
  border-color:var(--brand,#0057D9);
  background:rgba(0,87,217,.04);
  box-shadow:0 0 0 3px rgba(0,87,217,.1);
}
.signup-right .account-type-option input[type=radio]:checked + .account-type-label .account-type-check {
  opacity:1; transform:scale(1);
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
.signup-right .btn-primary,
.signup-right button[type=submit],
.signup-right input[type=submit] {
  background:var(--brand,#0057D9);
  border:none; color:#fff; width:100%;
  padding:0 22px; height:46px; border-radius:10px;
  font-family:'DM Sans',sans-serif; font-size:15px; font-weight:600;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s, box-shadow .2s;
  margin-top:4px;
}
.signup-right .btn-primary:hover,
.signup-right button[type=submit]:hover {
  background:#0049b8; box-shadow:0 8px 24px rgba(0,87,217,.28); color:#fff;
}
/* Botble SVG arrow inside button — hide it */
.signup-right .btn-primary svg,
.signup-right button[type=submit] svg { display:none; }

/* Forgot password link */
.signup-right .row.g-0 .text-end a {
  font-size:12px; color:var(--brand,#0057D9); font-weight:400; text-decoration:none;
}
/* "Don't have an account? Sign Up" helper line */
.signup-right .mt-3.text-center {
  font-size:12px;
  color:var(--ink-muted,#9ca3af);
  margin-top:14px !important;
  text-align:center;
}
.signup-right .mt-3.text-center a {
  color:var(--brand,#0057D9);
  font-weight:600;
  text-decoration:none;
}
.signup-right .mt-3.text-center a:hover { text-decoration:underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:900px) {
  .signup-split { flex-direction:column; }
  .signup-left  { position:relative; height:auto; flex:none; width:100%; }
  .signup-right { flex:none; width:100%; height:auto; overflow-y:visible; }
  .signup-right-top  { padding:18px 24px 14px; }
  .signup-form-area  { padding:24px 24px 36px; justify-content:flex-start; max-width:500px; }
}
@media (max-width:600px) {
  .signup-left { display:none; }
  .signup-right-top { padding:16px 20px 12px; }
  .signup-form-area { padding:20px 20px 32px; max-width:100%; }
  .signup-right .account-type-selection .row { flex-direction:column; }
}
