/* ── signup.css — Two-panel signup page styles ── */

/* Override entry-left width for signup — slightly wider for step list */
.signup-left {
  padding-bottom: 0;
}

/* ── Step Progress Visual ── */
.sp-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 18px 0 auto;
  padding: 0 4px;
}

.sp-step {
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0.45;
  transition: opacity 0.3s;
}

.sp-step.active  { opacity: 1; }
.sp-step.completed { opacity: 0.85; }

/* Circle */
.sp-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}

.sp-step.active .sp-circle {
  background: #c1272d;
  border-color: #c1272d;
  box-shadow: 0 0 0 4px rgba(193,39,45,0.25);
}

.sp-step.completed .sp-circle {
  background: #10b981;
  border-color: #10b981;
}

.sp-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.sp-check {
  display: none;
  font-size: 0.8rem;
  color: white;
}

.sp-step.completed .sp-num  { display: none; }
.sp-step.completed .sp-check { display: block; }

/* Step info text */
.sp-info { flex: 1; }

.sp-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: white;
  line-height: 1.2;
}

.sp-sub {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}

/* Connector line between steps */
.sp-connector {
  width: 2px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  margin-left: 17px; /* center under circle (36/2 - 1) */
  border-radius: 2px;
  transition: background 0.3s;
}

.sp-connector.filled {
  background: #10b981;
}

/* ── Right panel overrides for signup ── */
.signup-right {
  padding: 24px 26px 20px;
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

/* Step containers */
.su-step {
  display: none;
  animation: suFade 0.3s ease;
  flex: 1;
}
.su-step.active { display: flex; flex-direction: column; }

@keyframes suFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.su-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.su-sub {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 18px;
}

/* Form fields */
.su-field {
  margin-bottom: 14px;
}

.su-input {
  width: 100%;
  padding: 11px 12px;
  min-height: 44px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: #1f2937;
  background: white;
}
.su-input:focus {
  border-color: #003d6a;
  box-shadow: 0 0 0 3px rgba(0,61,106,0.08);
}

/* OTP boxes */
.otp-inputs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0;
}
.otp-input {
  width: 46px;
  height: 52px;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp-input:focus {
  border-color: #003d6a;
  box-shadow: 0 0 0 3px rgba(0,61,106,0.08);
}

/* Back button */
.btn-su-back {
  width: 100%;
  padding: 12px;
  min-height: 44px;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.btn-su-back:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

/* Hint text */
.su-hint {
  font-size: 0.8rem;
  color: #6b7280;
  text-align: center;
}
.su-hint a { color: #c1272d; font-weight: 600; text-decoration: none; }
.su-hint a:hover { text-decoration: underline; }

/* Welcome step */
.su-welcome-icon {
  font-size: 64px;
  color: #10b981;
  margin: 10px 0 12px;
}

.trial-badge {
  background: #fef3c7;
  color: #92400e;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin: 8px 0;
  border: 1px solid #fde68a;
}

/* Alert box */
#alertBox {
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 0.83rem;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .entry-card {
    flex-direction: column-reverse;
  }

  .signup-right {
    flex: none;
    padding: 22px 20px 18px;
  }

  .signup-left {
    padding: 16px 20px 0;
  }

  /* Compact step progress on mobile */
  .sp-steps {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 10px 0 14px;
  }

  .sp-step {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .sp-info { display: none; }

  .sp-connector {
    width: 28px;
    height: 2px;
    margin: 0 0 0 0;
  }

  .otp-input { width: 44px; height: 50px; font-size: 1.15rem; }
}

@media (max-width: 400px) {
  .signup-right { padding: 16px 14px; }
  .sp-circle { width: 30px; height: 30px; }
  .sp-connector { width: 20px; }
}
