/* =========================================================
   SGQ Medical — Stepper de Onboarding (compartilhado)
   Usado em: cadastro_usuario, onboarding, planos
   ========================================================= */

/* ── Wrapper layout (sidebar + card) ─────────────────────── */
.onb_layout {
  display: flex;
  gap: 0;
  align-items: stretch;
}

/* ── Sidebar ──────────────────────────────────────────────── */
.onb_stepper {
  width: 200px;
  flex-shrink: 0;
  background: rgba(9, 24, 37, 0.92);
  border-radius: 18px 0 0 18px;
  border-top: 5px solid #1E5A7A;
  padding: 32px 0 28px;
  display: flex;
  flex-direction: column;
}

.onb_stepper_logo {
  padding: 0 22px 26px;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: 'Century Gothic', Arial, sans-serif;
}
.onb_stepper_logo span { color: #F28C38; }

.onb_stepper_label {
  padding: 0 22px 12px;
  font-size: 8px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #2E4A5A;
  font-family: 'Century Gothic', Arial, sans-serif;
}

.onb_stepper_steps {
  padding: 0 0 0 22px;
  flex: 1;
}

/* ── Step item ────────────────────────────────────────────── */
.onb_step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.onb_step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 26px;
  width: 2px;
  height: 40px;
  background: #1E3A4A;
}
.onb_step.done:not(:last-child)::after  { background: #1E5A7A; }
.onb_step.active:not(:last-child)::after { background: linear-gradient(#F28C38 0%, #1E3A4A 100%); }

/* ── Ícone ────────────────────────────────────────────────── */
.onb_step_icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  font-family: 'Century Gothic', Arial, sans-serif;
  border: 2px solid #1E3A4A;
  background: #0C1F2D;
  color: #2E4A5A;
  position: relative;
  z-index: 1;
}

.onb_step.done .onb_step_icon {
  background: #1E5A7A;
  border-color: #2E7DA1;
  color: #fff;
}
.onb_step.active .onb_step_icon {
  background: #F28C38;
  border-color: #F28C38;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(242,140,56,0.20);
}

/* ── Textos ───────────────────────────────────────────────── */
.onb_step_info {
  padding-bottom: 40px;
}

.onb_step_name {
  font-size: 11px;
  font-weight: bold;
  font-family: 'Century Gothic', Arial, sans-serif;
  color: #8ab0c0;
  margin-top: 4px;
  line-height: 1.3;
}
.onb_step.done .onb_step_name   { color: #6B8798; }
.onb_step.active .onb_step_name { color: #F28C38; }

.onb_step_sub {
  font-size: 9px;
  font-family: 'Century Gothic', Arial, sans-serif;
  color: #4a7080;
  margin-top: 1px;
}
.onb_step.done .onb_step_sub   { color: #3a5a6a; }
.onb_step.active .onb_step_sub { color: #7a4a1a; }

/* ── Responsivo: oculta sidebar em telas pequenas ─────────── */
@media (max-width: 680px) {
  .onb_stepper { display: none; }

  /* Restaura border-radius nos cards quando sidebar some */
  .onb_layout .cad_card,
  .onb_layout .onb_card_form,
  .onb_layout .conf_card {
    border-radius: 18px !important;
  }
}
