/* ==========================================================
   VisionCourt Login — Split-Screen Modern Design
   prefix: vc-login-
   ========================================================== */

/* ===== Page Reset ===== */
.vc-login-page {
  margin: 0;
  padding: 0;
  background: #fff;
  overflow-x: hidden;
}
.vc-login-page .site-wrap,
.vc-login-page #wrapper,
.vc-login-page .header-wrap,
.vc-login-page footer,
.vc-login-page .footer-wrap {
  display: none !important;
}

/* ===== Split Layout ===== */
.vc-login-split {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ===== Left Panel ===== */
.vc-login-left {
  flex: 0 0 45%;
  max-width: 45%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  gap: 36px;
}
.vc-login-left-bg {
  position: absolute;
  inset: 0;
  background: #f0f1f5;
}
.vc-login-left-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.06);
}
.vc-login-left-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.vc-login-left-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.vc-login-left-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 10px;
  line-height: 1.2;
}
.vc-login-left-sub {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 auto;
  max-width: 340px;
  line-height: 1.6;
}

/* ===== Right Panel ===== */
.vc-login-right {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 40px;
  background: #fff;
  overflow-y: auto;
  max-height: 100vh;
}
.vc-login-right-inner {
  width: 100%;
  max-width: 440px;
}

/* ===== Logo ===== */
.vc-login-logo {
  text-align: center;
  margin-bottom: 36px;
}
.vc-login-logo img {
  max-height: 100px;
  width: auto;
}
.vc-login-site-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e293b;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.vc-login-site-name:hover {
  color: #1e293b;
  text-decoration: none;
}

/* ===== Tab Buttons ===== */
.vc-login-tabs {
  display: flex;
  gap: 4px;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 32px;
}
.vc-login-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.vc-login-tab.active {
  background: #fff;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ===== Panels ===== */
.vc-login-panel {
  display: none;
}
.vc-login-panel.active {
  display: block;
}

/* ===== Heading ===== */
.vc-login-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}

/* ===== Form Fields ===== */
.vc-login-field {
  margin-bottom: 20px;
}
.vc-login-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

/* ===== Modern Field System ===== */
.vc-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border-radius: 12px;
  border: 1.5px solid transparent;
  transition: all 0.2s;
}
.vc-field-wrap:focus-within {
  background: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}
.vc-field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  color: #94a3b8;
  pointer-events: none;
}
.vc-field-wrap:focus-within .vc-field-icon {
  color: #6366f1;
}
.vc-field-input,
.vc-login-page .vc-field-wrap .form-control {
  width: 100%;
  border: none !important;
  border-radius: 0 12px 12px 0 !important;
  padding: 13px 14px 13px 0 !important;
  font-size: 0.92rem;
  color: #1e293b;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
}
.vc-field-input::placeholder {
  color: #94a3b8;
}
.vc-field-action {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.vc-field-action:hover {
  color: #64748b;
}
/* Select fields inside wrap */
.vc-field-wrap select.vc-field-input,
.vc-field-wrap select.form-control {
  appearance: auto;
  padding-right: 28px !important;
  cursor: pointer;
}

/* ===== Forgot Password Panel ===== */
.vc-forgot-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6366f1;
  cursor: pointer;
  margin-bottom: 24px;
}
.vc-forgot-back:hover {
  color: #4f46e5;
}
.vc-forgot-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f5f3ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366f1;
  margin-bottom: 20px;
}
.vc-forgot-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 24px;
}

/* ===== Extras (remember + forgot) ===== */
.vc-login-extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  font-size: 0.85rem;
}
.vc-login-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}
.vc-login-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #6366f1;
  cursor: pointer;
}
.vc-login-forgot {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
}
.vc-login-forgot:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* ===== Submit Button ===== */
.vc-login-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vc-login-btn:hover {
  background: #0f0f1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.25);
}

/* ===== Divider ===== */
.vc-login-divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
  gap: 16px;
}
.vc-login-divider::before,
.vc-login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.vc-login-divider span {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== Social Login ===== */
.vc-login-social {
  display: flex;
  gap: 12px;
}
.vc-login-social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s;
}
.vc-login-social-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-1px);
}
.vc-login-social-fb {
  color: #1877f2;
}
.vc-login-social-btn img.google-icon {
  width: 18px;
  height: 18px;
}

/* ===== Switch Link ===== */
.vc-login-switch {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: #64748b;
}
.vc-login-switch-link {
  color: #6366f1;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}
.vc-login-switch-link:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* ===== Register Form Overrides ===== */
#vc-panel-register .register-form-wrap .form-group {
  margin-bottom: 16px;
}
#vc-panel-register .btn-primary,
#vc-panel-register button[type="submit"] {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
#vc-panel-register .btn-primary:hover,
#vc-panel-register button[type="submit"]:hover {
  background: #0f0f1e;
}

/* Row layout for paired fields */
.vc-reg-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== Registration — Step System ===== */
.vc-reg-step {
  display: none;
}
.vc-reg-step.active {
  display: block;
}

.vc-reg-step-sub {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Role Picker Cards */
.vc-reg-role-cards {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}
.vc-reg-role-card {
  flex: 1;
  position: relative;
  padding: 24px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.vc-reg-role-card:hover {
  border-color: #c7d2fe;
  background: #fafaff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.08);
}
.vc-reg-role-card.selected {
  border-color: #6366f1;
  background: #f5f3ff;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.vc-reg-role-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.vc-reg-role-icon--buyer {
  background: #ede9fe;
  color: #6366f1;
}
.vc-reg-role-icon--agent {
  background: #e0f2fe;
  color: #0284c7;
}
.vc-reg-role-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 6px;
}
.vc-reg-role-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.vc-reg-role-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all 0.2s;
}
.vc-reg-role-card.selected .vc-reg-role-check {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}

/* Continue Button */
.vc-reg-continue-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vc-reg-continue-btn:hover:not(:disabled) {
  background: #0f0f1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.25);
}
.vc-reg-continue-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Back Button */
.vc-reg-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6366f1;
  cursor: pointer;
  margin-bottom: 16px;
}
.vc-reg-back-btn:hover {
  color: #4f46e5;
}

/* Selected Role Badge */
.vc-reg-selected-role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f5f3ff;
  border: 1px solid #e0e7ff;
  margin-bottom: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6366f1;
}
.vc-reg-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366f1;
}

/* Step Indicator Dots */
.vc-reg-steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}
.vc-reg-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid #e2e8f0;
  color: #94a3b8;
  background: #fff;
}
.vc-reg-step-dot.completed {
  background: #6366f1;
  border-color: #6366f1;
  color: #fff;
}
.vc-reg-step-dot.active {
  border-color: #6366f1;
  color: #6366f1;
}
.vc-reg-step-line {
  width: 40px;
  height: 2px;
  background: #6366f1;
}

/* Form Labels */
.vc-reg-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}
.vc-reg-hint {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

/* Section Cards */
.vc-reg-section {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

/* Section Headers */
.vc-reg-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #1e293b;
  padding: 14px 0 10px;
  margin: 8px 0 16px;
  border-top: 1px solid #f1f5f9;
}
.vc-reg-section > .vc-reg-section-header:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

/* Agent Sub-step Indicator */
.vc-agent-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.vc-agent-step-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: default;
  transition: all 0.2s;
}
.vc-agent-step-pill.active {
  border-color: #6366f1;
  background: #f5f3ff;
  color: #6366f1;
}
.vc-agent-step-pill.completed {
  border-color: #16a34a;
  background: #f0fdf4;
  color: #16a34a;
}
.vc-agent-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #94a3b8;
}
.vc-agent-step-pill.active .vc-agent-step-num {
  background: #6366f1;
  color: #fff;
}
.vc-agent-step-pill.completed .vc-agent-step-num {
  background: #16a34a;
  color: #fff;
}

/* Agent Sub-step Navigation */
.vc-agent-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.vc-agent-next-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: auto;
}
.vc-agent-next-btn:hover {
  background: #0f0f1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.25);
}
.vc-agent-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.vc-agent-back-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.vc-agent-next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.vc-agent-next-btn:disabled:hover {
  background: #1a1a2e;
  transform: none;
  box-shadow: none;
}

/* Agent step validation error */
.vc-agent-step-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  font-size: 0.82rem;
  font-weight: 600;
  animation: vc-shake 0.3s ease;
}
@keyframes vc-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}

/* Email changed warning */
.vc-email-changed-warn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 600;
  animation: vc-fadeIn 0.3s ease;
}
@keyframes vc-fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* OTP resend disabled state */
.vc-reg-otp-resend.vc-otp-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  color: #94a3b8;
  border-color: #e2e8f0;
  background: #f8fafc;
}

/* Name Row */
.vc-reg-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Match Error */
.vc-reg-match-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 4px;
}

/* Notices */
.vc-reg-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.78rem;
  padding: 10px 12px;
  border-radius: 10px;
  margin-top: 8px;
  line-height: 1.5;
}
.vc-reg-notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.vc-reg-notice--warn {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fef3c7;
}
.vc-reg-notice--info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #dbeafe;
}

/* OTP Wrap */
.vc-reg-otp-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.vc-reg-otp-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.vc-reg-otp-btn:hover {
  background: #e2e8f0;
}
.vc-reg-otp-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #16a34a;
  font-weight: 600;
}
.vc-reg-otp-resend {
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6366f1;
  cursor: pointer;
}
.vc-reg-otp-resend:hover {
  background: #f8fafc;
}
.vc-reg-otp-input-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.vc-reg-otp-input-wrap .form-control {
  max-width: 180px;
  letter-spacing: 4px;
  font-weight: 700;
  text-align: center;
}
.vc-reg-otp-verify {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  background: #6366f1;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.vc-reg-otp-verify:hover {
  background: #4f46e5;
}

/* Verified Badge */
.vc-reg-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #16a34a;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Terms / Checkboxes */
.vc-reg-terms {
  margin: 20px 0;
}
.vc-reg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 12px;
  cursor: pointer;
  line-height: 1.5;
}
.vc-reg-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6366f1;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
}
.vc-reg-checkbox a {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
}
.vc-reg-checkbox a:hover {
  text-decoration: underline;
}

/* Submit Button */
.vc-reg-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.vc-reg-submit-btn:hover:not(:disabled) {
  background: #0f0f1e;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.25);
}
.vc-reg-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.vc-reg-submit-btn .loader-ripple,
.vc-reg-submit-btn .houzez-loader {
  width: 18px;
  height: 18px;
}

/* Register form field refinements */
#vc-panel-register .vc-reg-step .form-group {
  margin-bottom: 18px;
}

/* Hide icons from parent theme form */
#vc-panel-register .vc-reg-step .input-icon,
#vc-panel-register .vc-reg-step .fas.input-icon {
  display: none;
}

/* ===== Loader ===== */
.vc-login-btn .loader-ripple,
.vc-login-btn .houzez-loader {
  width: 18px;
  height: 18px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .vc-login-left {
    display: none;
  }
  .vc-login-split {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .vc-login-right {
    padding: 32px 24px;
    max-height: none;
    align-items: flex-start;
    min-height: 100vh;
  }
  .vc-login-right-inner {
    margin-top: auto;
    margin-bottom: auto;
  }
}

@media (max-width: 480px) {
  .vc-login-right {
    padding: 24px 18px;
  }
  .vc-login-heading {
    font-size: 1.35rem;
  }
  .vc-login-social {
    flex-direction: column;
  }
  .vc-reg-role-cards {
    flex-direction: column;
  }
  .vc-reg-name-row,
  .vc-reg-row {
    grid-template-columns: 1fr;
  }
  .vc-agent-steps {
    flex-direction: column;
  }
  .vc-reg-section {
    padding: 16px;
  }
  .vc-agent-next-btn,
  .vc-agent-back-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* =====================================================
   2FA Verification Panel (Login Page)
   ===================================================== */
.vc-2fa-verify-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f0fdf4;
  color: #16a34a;
  margin: 0 auto 20px;
}
.vc-2fa-verify-desc {
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  margin: 0 0 24px;
  line-height: 1.6;
}
#vc-2fa-code {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.4em;
}
.vc-2fa-resend {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #64748b;
}
.vc-2fa-resend p {
  margin: 0;
}
.vc-2fa-resend a {
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
}
.vc-2fa-resend a:hover {
  text-decoration: underline;
}

/* 2FA messages */
#vc-2fa-messages .alert {
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
#vc-2fa-messages .alert-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
#vc-2fa-messages .alert-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* Backup code link */
.vc-2fa-backup-link {
  text-align: center;
  margin-top: 16px;
  font-size: 0.82rem;
}
.vc-2fa-backup-link a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.vc-2fa-backup-link a:hover {
  color: #6366f1;
  text-decoration: underline;
}
#vc-2fa-backup-code {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}
