/* ============================================================
   Provider Onboarding (Register Step 1 / Step 2 / Step 3)
   Scoped under .po-page so it never leaks into the rest of the site.
   ============================================================ */

.po-page {
  --po-primary: #4e73df;
  --po-primary-dark: #3c5fd1;
  --po-secondary: #1cc88a;
  --po-gradient: linear-gradient(135deg, #4e73df, #1cc88a);
  --po-ink: #1a1a2e;
  --po-muted: #6b7280;
  --po-bg-soft: #f5f7ff;
  --po-border: #e6e9f5;
  --po-danger: #ef4444;

  font-family: 'DM Sans', 'Figtree', sans-serif;
  color: var(--po-ink);
  padding: 48px 0 72px;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(78,115,223,0.10), transparent 60%),
    radial-gradient(1000px 500px at 100% 0%, rgba(28,200,138,0.10), transparent 55%),
    var(--po-bg-soft);
}

.po-page * { box-sizing: border-box; }

/* ---------- Stepper ---------- */
.po-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 640px;
  margin: 0 auto 40px;
}

.po-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.po-step .po-step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  border: 2px solid var(--po-border);
  color: var(--po-muted);
  transition: all .25s ease;
  z-index: 2;
}

.po-step .po-step-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--po-muted);
  text-align: center;
}

.po-step::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--po-border);
  z-index: 1;
}

.po-step:last-child::after { display: none; }

.po-step.done .po-step-circle {
  background: var(--po-gradient);
  border-color: transparent;
  color: #fff;
}

.po-step.done::after { background: var(--po-secondary); }

.po-step.active .po-step-circle {
  background: #fff;
  border-color: var(--po-primary);
  color: var(--po-primary);
  box-shadow: 0 0 0 6px rgba(78,115,223,0.12);
}

.po-step.active .po-step-label,
.po-step.done .po-step-label { color: var(--po-ink); }

/* ---------- Card shell ---------- */
.po-card {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--po-border);
  box-shadow: 0 20px 45px rgba(26,26,46,0.08);
  overflow: hidden;
}

.po-card-head {
  background: var(--po-gradient);
  color: #fff;
  padding: 32px 40px;
  text-align: center;
}

.po-card-head .po-eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 700;
}

.po-card-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  margin: 6px 0 4px;
}

.po-card-head p {
  margin: 0;
  opacity: 0.9;
  font-size: 14px;
}

.po-card-body { padding: 40px; }

@media (max-width: 576px) {
  .po-card-head { padding: 24px; }
  .po-card-body { padding: 24px; }
}

/* ---------- Section groups ---------- */
.po-section {
  background: var(--po-bg-soft);
  border: 1px solid var(--po-border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.po-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--po-ink);
  margin-bottom: 18px;
}

.po-section-title .po-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--po-gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex: none;
}

/* ---------- Inputs ---------- */
.po-page .form-control,
.po-page .form-select,
.po-page select.form-control {
  border-radius: 12px;
  border: 1.5px solid var(--po-border);
  padding: 11px 16px;
  font-size: 14.5px;
  background: #fff;
  transition: all .2s ease;
}

.po-page .form-control:focus,
.po-page .form-select:focus {
  border-color: var(--po-primary);
  box-shadow: 0 0 0 4px rgba(78,115,223,0.12);
}

.po-page .form-control.is-invalid { border-color: var(--po-danger); }

.po-page label {
  font-size: 13px;
  font-weight: 600;
  color: var(--po-ink);
  margin-bottom: 6px;
  display: inline-block;
}

.po-page .po-hint {
  font-size: 12.5px;
  color: var(--po-muted);
  margin-top: 6px;
  display: block;
}

.po-page #suggestions.list-group {
  position: static;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 6px;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 10px 25px rgba(26,26,46,0.08);
}

.po-page #suggestions .list-group-item {
  border: none;
  border-bottom: 1px solid var(--po-border);
  font-size: 13.5px;
  cursor: pointer;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.po-page #suggestions .list-group-item:hover { background: var(--po-bg-soft); }

/* ---------- Buttons ---------- */
.po-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15.5px;
  color: #fff;
  background: var(--po-gradient);
  box-shadow: 0 12px 25px rgba(78,115,223,0.28);
  transition: transform .18s ease, box-shadow .18s ease;
}

.po-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(78,115,223,0.35);
  color: #fff;
}

.po-btn.po-btn-dark {
  background: linear-gradient(135deg, #1a1a2e, #333);
  box-shadow: 0 12px 25px rgba(26,26,46,0.28);
}

.po-btn.po-btn-premium {
  background: linear-gradient(135deg, #f7971e, #ffd200);
  box-shadow: 0 12px 25px rgba(247,151,30,0.3);
  color: #1a1a2e;
}

/* ---------- Plan cards (step 2) ---------- */
.po-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .po-plans { grid-template-columns: 1fr; }
}

.po-plan {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid var(--po-border);
  padding: 32px 28px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}

.po-plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26,26,46,0.1);
}

.po-plan.po-plan-premium {
  border-color: transparent;
  background: linear-gradient(180deg, #fff 0%, #f8f6ff 100%);
  box-shadow: 0 20px 45px rgba(111,66,193,0.18);
}

.po-plan-badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: linear-gradient(135deg, #ff6b81, #ff4d6d);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 999px;
}

.po-plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.po-plan-sub { color: var(--po-muted); font-size: 13.5px; margin-bottom: 18px; }

.po-plan-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--po-ink);
  margin-bottom: 4px;
}

.po-plan-price span { font-size: 15px; font-weight: 600; color: var(--po-muted); }

.po-plan-old {
  text-decoration: line-through;
  color: #c9cddb;
  font-size: 13px;
}

.po-plan-discount {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--po-secondary);
  background: rgba(28,200,138,0.12);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.po-plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
}

.po-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #3f3f52;
  margin-bottom: 10px;
}

.po-plan-features li i {
  color: var(--po-secondary);
  margin-top: 2px;
}

/* ---------- Alerts ---------- */
.po-page .alert-danger {
  border-radius: 14px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

/* ---------- Photo / upload dropzone ---------- */
.po-upload {
  border: 2px dashed var(--po-border);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  background: #fff;
  transition: border-color .2s ease;
}

.po-upload:hover { border-color: var(--po-primary); }

.po-upload i { font-size: 26px; color: var(--po-primary); margin-bottom: 8px; display: block; }

/* ---------- Premium block ---------- */
.po-premium-block {
  border: 1.5px dashed #f0c419;
  background: #fffbea;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.po-premium-block .po-section-title .po-icon {
  background: linear-gradient(135deg, #f7971e, #ffd200);
}

/* ---------- Contact method chips ---------- */
.po-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

@media (max-width: 500px) {
  .po-check-grid { grid-template-columns: 1fr; }
}

.po-check {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--po-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 600;
}
