#infl-progressive-onboarding.infl-pob-overlay,
.infl-pob-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.82);
  transition: all 0.3s ease;
}

body.infl-pob-open {
  overflow: hidden;
}

.infl-pob-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 52rem;
  max-height: 90vh;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: #111827;
  filter: none;
  -webkit-font-smoothing: antialiased;
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.infl-pob-hero {
  display: none;
  position: relative;
  flex-shrink: 0;
  min-height: 220px;
  overflow: hidden;
}

.infl-pob-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: opacity 0.3s ease;
}

.infl-pob-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(238, 62, 150, 0.82),
    rgba(242, 110, 89, 0.45) 45%,
    transparent
  );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.infl-pob-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.5rem 1.25rem 1.25rem;
  color: #fff;
  transition: opacity 0.3s ease;
}

.infl-pob-hero-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.18;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.infl-pob-hero-copy p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.42;
  opacity: 0.96;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.infl-pob-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  padding: 1.1rem 1.25rem;
  background: #fff;
  min-height: 0;
  min-width: 0;
  transition: all 0.3s ease;
}

.infl-pob-panel-scroll {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-top: 2rem;
}

.infl-pob-mobile-head {
  margin-bottom: 0.75rem;
}

.infl-pob-mobile-head h2 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.infl-pob-mobile-head p,
.infl-pob-sub {
  margin: 0.35rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #475569;
}

@media (min-width: 768px) {
  .infl-pob-card {
    flex-direction: row;
  }

  .infl-pob-hero {
    display: block;
    width: 38%;
    min-height: 0;
    align-self: stretch;
  }

  .infl-pob-panel {
    padding: 1.25rem 1.5rem;
  }

  .infl-pob-mobile-head {
    display: none;
  }
}

@media (min-width: 1024px) {
  .infl-pob-hero {
    width: 42%;
  }

  .infl-pob-panel {
    padding: 1.35rem 1.65rem;
  }
}

.infl-pob-card input,
.infl-pob-card textarea,
.infl-pob-card button,
.infl-pob-card label {
  opacity: 1;
  filter: none;
  text-shadow: none;
}

.infl-pob-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 20;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.infl-pob-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fdf2f8;
  border: 1px solid rgba(238, 62, 150, 0.35);
  color: #ee3e96;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.infl-pob-progress {
  height: 0.5rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.infl-pob-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ee3e96, #f26e59);
  transition: width 0.3s ease;
}

.infl-pob-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.infl-pob-field {
  margin-bottom: 0.9rem;
}

.infl-pob-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
}

.infl-pob-field input,
.infl-pob-field textarea,
.infl-pob-field select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.625rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.875rem;
  background: #fff;
  color: #111827;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.infl-pob-field select {
  appearance: auto;
  cursor: pointer;
}

.infl-pob-field select:disabled {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

.infl-pob-field input::placeholder,
.infl-pob-field textarea::placeholder {
  color: #9ca3af;
}

.infl-pob-chips--category {
  max-height: 6.5rem;
  overflow-y: auto;
  padding: 0.3rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.625rem;
  background: #f9fafb;
}

.infl-pob-chips--langs {
  max-height: 5.5rem;
  overflow-y: auto;
  padding: 0.15rem 0;
}

.infl-pob-chips--category .infl-pob-chip {
  background: #fff;
}

.infl-pob-field input:focus,
.infl-pob-field textarea:focus,
.infl-pob-field select:focus {
  outline: none;
  border-color: #ee3e96;
  box-shadow: 0 0 0 3px rgba(238, 62, 150, 0.22);
}

.infl-pob-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.infl-pob-chip {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: #fff;
  color: #1f2937;
  cursor: pointer;
  transition: all 0.3s ease;
}

.infl-pob-chip.is-active {
  border-color: #ee3e96;
  background: #fdf2f8;
  color: #ee3e96;
  box-shadow: 0 0 0 1px #ee3e96;
}

.infl-pob-chip.is-secondary {
  border-color: #f26e59;
  background: #fff7ed;
  color: #c2410c;
}

.infl-pob-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.infl-pob-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.84rem;
  color: #374151;
  transition: all 0.3s ease;
}

.infl-pob-option.is-active {
  border-color: #ee3e96;
  background: #fff5f9;
  box-shadow: 0 0 0 1px rgba(238, 62, 150, 0.15);
}

.infl-pob-option input {
  accent-color: #ee3e96;
}

.infl-pob-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.infl-pob-price-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  min-height: 4rem;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  background: #fff;
  transition: all 0.25s ease;
  contain: layout paint;
}

.infl-pob-price-card:hover {
  border-color: rgba(238, 62, 150, 0.45);
}

.infl-pob-price-card.is-active {
  border-color: #ee3e96;
  background: #fff5f9;
  box-shadow: 0 0 0 1px rgba(238, 62, 150, 0.16);
}

.infl-pob-price-card input {
  margin: 0;
  width: 1rem;
  height: 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  background: #fff;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.infl-pob-price-card input:checked {
  border-color: #ee3e96;
  box-shadow: inset 0 0 0 3px #ee3e96;
}

.infl-pob-price-copy strong {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2;
  color: #111827;
}

.infl-pob-price-copy span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: #6b7280;
}

.infl-pob-error {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: #dc2626;
}

.infl-pob-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}

.infl-pob-actions--solo {
  justify-content: flex-end;
}


.infl-pob-btn {
  border: 0;
  border-radius: 999px;
  padding: 0.625rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.infl-pob-btn-ghost {
  background: transparent;
  color: #6b7280;
}

.infl-pob-btn-link {
  border: 0;
  background: transparent;
  color: #6b7280;
  padding: 0.35rem 0.1rem;
  font-size: 0.875rem;
  font-weight: 700;
}

.infl-pob-btn-link:disabled {
  opacity: 0.5;
  cursor: default;
}

.infl-pob-btn-primary {
  background: linear-gradient(90deg, #ee3e96, #f26e59);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(238, 62, 150, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.infl-pob-btn-primary:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(238, 62, 150, 0.28);
}

.infl-pob-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 540px) {
  .infl-pob-grid {
    grid-template-columns: 1fr;
  }
}
