/* LogisticLoo-style auth split — SemSub blue theme */
.auth-split-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f0f4f8;
  font-family: var(--font-sans, 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif);
}

@media (min-width: 992px) {
  .auth-split-page {
    flex-direction: row;
    min-height: calc(100vh - 0px);
  }
}

.auth-split-left {
  position: relative;
  background: linear-gradient(135deg, #0047bb 0%, #2563eb 100%);
  color: #fff;
  padding: 3rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (min-width: 992px) {
  .auth-split-left {
    width: 52%;
    min-height: 100vh;
    padding: 4rem 3.5rem;
  }
}

.auth-split-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12), transparent 50%);
  pointer-events: none;
}

.auth-split-left-inner {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.auth-split-left h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.auth-split-left .lead {
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.auth-split-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.auth-split-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.auth-split-features .material-symbols-outlined {
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  padding: 0.35rem;
  flex-shrink: 0;
}

.auth-split-right {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
  overflow-y: auto;
}

@media (min-width: 992px) {
  .auth-split-right {
    width: 48%;
    padding: 3rem 2.5rem;
  }
}

.auth-split-form-wrap {
  width: 100%;
  max-width: 480px;
}

.auth-split-header h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 0.35rem;
}

.auth-split-header p {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.auth-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.auth-step-dot {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  transition: background 0.25s;
}

.auth-step-dot.is-active,
.auth-step-dot.is-done {
  background: linear-gradient(90deg, #0047bb, #2563eb);
}

.auth-alert {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.auth-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.w-100 { width: 100%; }
.mt-2 { margin-top: 0.5rem; }

.auth-alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.account-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.account-type-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 520px) {
  .account-type-grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .account-type-grid {
    grid-template-columns: 1fr;
  }
}

.account-type-card {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  text-align: center;
  background: #f8fafc;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.account-type-card:hover {
  border-color: #0047bb;
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 71, 187, 0.12);
}

.account-type-card.is-selected {
  border-color: #0047bb;
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(0, 71, 187, 0.15);
}

.account-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-type-card .type-icon {
  font-size: 2rem;
  color: #0047bb;
  margin-bottom: 0.5rem;
}

.account-type-card .type-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.account-type-card .type-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.auth-field {
  margin-bottom: 1.15rem;
}

.auth-field label {
  display: block;
  font-weight: 600;
  font-size: 0.8rem;
  color: #334155;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap .material-symbols-outlined {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: #94a3b8;
  pointer-events: none;
}

.auth-input-wrap input,
.auth-input-wrap select,
.auth-input-wrap textarea {
  width: 100%;
  padding: 0.8rem 0.9rem 0.8rem 2.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f8fafc;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f8fafc;
  color: #1e293b;
  min-height: 100px;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-field textarea:focus {
  outline: none;
  border-color: #0047bb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 71, 187, 0.1);
}

.auth-input-wrap select {
  padding-left: 2.75rem;
  appearance: auto;
}

.auth-input-wrap input:focus,
.auth-input-wrap select:focus,
.auth-input-wrap textarea:focus {
  outline: none;
  border-color: #0047bb;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 71, 187, 0.1);
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .auth-form-row {
    grid-template-columns: 1fr;
  }
}

.password-strength {
  margin-top: 0.5rem;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  display: none;
}

.password-strength.is-visible {
  display: block;
}

.password-strength-bar {
  height: 100%;
  width: 0;
  transition: width 0.3s, background 0.3s;
  border-radius: 2px;
}

.password-strength.weak .password-strength-bar {
  width: 33%;
  background: #ef4444;
}

.password-strength.medium .password-strength-bar {
  width: 66%;
  background: #f59e0b;
}

.password-strength.strong .password-strength-bar {
  width: 100%;
  background: #10b981;
}

.password-hint {
  font-size: 0.75rem;
  margin-top: 0.35rem;
  display: none;
}

.password-hint.is-visible {
  display: block;
}

.password-hint.match {
  color: #10b981;
}

.password-hint.mismatch {
  color: #ef4444;
}

.auth-wizard-panel {
  display: none;
}

.auth-wizard-panel.is-active {
  display: block;
  animation: authFadeIn 0.35s ease;
}

@keyframes authFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-review-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}

.auth-review-card h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.auth-review-card p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: #1e293b;
}

.auth-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #475569;
  margin: 1rem 0;
}

.auth-check input {
  margin-top: 0.2rem;
  accent-color: #0047bb;
}

.auth-wizard-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn-auth-primary {
  flex: 1;
  min-width: 140px;
  padding: 0.9rem 1.25rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #0047bb, #2563eb);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 71, 187, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-auth-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 71, 187, 0.4);
}

.btn-auth-outline {
  padding: 0.9rem 1.25rem;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-auth-outline:hover {
  border-color: #0047bb;
  color: #0047bb;
  background: #f8fafc;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.875rem;
  color: #64748b;
}

.auth-footer-link a {
  color: #0047bb;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer-link a:hover {
  text-decoration: underline;
}

.seller-only-field {
  display: none;
}

.auth-split-form-wrap.is-seller .seller-only-field {
  display: block;
}

.auth-split-form-wrap.is-seller .buyer-only-review {
  display: none;
}
