/* LP Investment Eligibility Checker — card styles */

.lpinv__eq-card {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  margin-top: 40px;
}

/* ── Header ── */

.lpinv__eq-header {
  background: linear-gradient(139.94deg, #0f6590 0%, #1380af 100%);
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lpinv__eq-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lpinv__eq-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.47;
  margin: 0;
  padding-right: 12px;
  white-space: nowrap;
}

.lpinv__eq-tagline {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ── Step progress ── */

.lpinv__eq-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lpinv__eq-progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lpinv__eq-progress-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lpinv__eq-progress-step.is-active .lpinv__eq-progress-num {
  background: #ffffff;
  border-color: #ffffff;
  color: #1380af;
}

.lpinv__eq-progress-step.is-done .lpinv__eq-progress-num {
  display: none;
}

.lpinv__eq-progress-done {
  display: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.lpinv__eq-progress-done svg {
  width: 24px;
  height: 24px;
  display: block;
}

.lpinv__eq-progress-step.is-done .lpinv__eq-progress-done {
  display: flex;
}

.lpinv__eq-progress-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.lpinv__eq-progress-step.is-active .lpinv__eq-progress-label {
  color: #ffffff;
}

.lpinv__eq-progress-step.is-done .lpinv__eq-progress-label {
  color: rgba(255, 255, 255, 0.75);
}

.lpinv__eq-progress-divider {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ── Step body ── */

.lpinv__eq-body {
  padding: 24px 35px 28px;
}

.lpinv__eq-step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lpinv__eq-step[hidden] {
  display: none;
}

/* ── Question ── */

.lpinv__eq-question-title {
  font-size: 18px;
  font-weight: 800;
  color: #1380af;
  line-height: 1.33;
  margin: 0 0 4px;
}

.lpinv__eq-question-desc {
  font-size: 14px;
  font-weight: 400;
  color: #515151;
  line-height: 1.57;
  margin: 0;
}

/* ── Options ── */

.lpinv__eq-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lpinv__eq-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: #ffffff;
  border: 2px solid #d7d7d7;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lpinv__eq-option:hover {
  border-color: rgba(19, 128, 175, 0.5);
  background: rgba(19, 128, 175, 0.03);
}

.lpinv__eq-option.is-selected {
  background: #eff8fc;
  border-color: #1380af;
}

.lpinv__eq-option-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 2px;
}

.lpinv__eq-option-icon svg,
.lpinv__eq-option-icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.lpinv__eq-option-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lpinv__eq-option-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #2d2d2d;
  line-height: 1.6;
}

.lpinv__eq-option-desc {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #515151;
  line-height: 1.6;
}

/* ── Badges ── */

.lpinv__eq-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.6;
  padding: 4px 10px;
  border-radius: 8px;
}

.lpinv__eq-badge--strong {
  background: #e6f9e6;
  color: #1e7e20;
}

.lpinv__eq-badge--manageable {
  background: #fffbeb;
  color: #d97706;
}

.lpinv__eq-badge--talk {
  background: #fffbeb;
  color: #d97706;
}

/* ── Actions ── */

.lpinv__eq-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}

.lpinv__eq-next {
  margin-left: auto;
  background: #fb7925;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.lpinv__eq-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.lpinv__eq-next:not(:disabled):hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.lpinv__eq-back {
  background: none;
  border: none;
  color: #515151;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}

.lpinv__eq-back:hover {
  color: #1380af;
}

/* ── Result panel ── */

.lpinv__eq-result {
  align-items: center;
  text-align: center;
  padding: 10px 0 6px;
  gap: 16px;
  max-width: 430px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.lpinv__eq-result[hidden] {
  display: none;
}

.lpinv__eq-result-icon {
  font-size: 52px;
  line-height: 1;
  text-align: center;
}

.lpinv__eq-result-icon svg {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto;
}

.lpinv__eq-result-title {
  font-size: 22px;
  font-weight: 800;
  color: #29ad2c;
  margin: -6px 0 0;
}

.lpinv__eq-result-body {
  font-size: 14px;
  color: #515151;
  line-height: 1.6;
  margin: 0;
  max-width: 460px;
  text-align: center;
}

.lpinv__eq-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  text-align: left;
}

.lpinv__eq-result-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: #2d2d2d;
  line-height: 1.6;
}

.lpinv__eq-result-list li svg {
  flex-shrink: 0;
}

.lpinv__eq-result-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fb7925;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 28px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.1s;
}

.lpinv__eq-result-cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

.lpinv__eq-result-trust {
  font-size: 12px;
  color: #888888;
  margin: 0;
}

.lpinv__eq-result--manageable .lpinv__eq-result-title {
  color: #1380af;
}

.lpinv__eq-result--talk .lpinv__eq-result-title {
  color: #F59E0B;
}

.lpinv__eq-result-info {
    background-color: #d4effa;
    border:1px solid #27ade7;
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  text-align: left;
}

.lpinv__eq-result-info[hidden] {
  display: none;
}

.lpinv__eq-result-info strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #1380af;
  margin-bottom: 4px;
}

.lpinv__eq-result-info p {
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.55;
  margin: 0;
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .lpinv__eq-card {
    border-radius: 20px;
    margin-top: 28px;
  }

  .lpinv__eq-header {
    padding: 24px 24px 20px;
    gap: 12px;
  }

  .lpinv__eq-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lpinv__eq-title {
    border-right: none;
    padding-right: 0;
    font-size: 20px;
    white-space: normal;
  }

  .lpinv__eq-tagline {
    font-size: 13px;
  }

  .lpinv__eq-body {
    padding: 20px 36px;
  }

  .lpinv__eq-step {
    gap: 16px;
  }

  .lpinv__eq-question-title {
    font-size: 16px;
  }

  .lpinv__eq-next {
    padding: 12px 24px;
    font-size: 14px;
  }

  .lpinv__eq-result-cta {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .lpinv__eq-result-body {
    max-width: 100%;
    font-size: 14px;
  }

  .lpinv__eq-result-icon {
    font-size: 44px;
  }

  .lpinv__eq-result-icon svg {
    width: 52px;
    height: 52px;
  }

  .lpinv__eq-result-title {
    font-size: 20px;
  }

  .lpinv__eq-result-list li {
    font-size: 14px;
  }

  .lpinv__eq-result-list li svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}

@media (max-width: 575px) {
  .lpinv__eq-card {
    border-radius: 16px;
    margin-top: 20px;
  }

  .lpinv__eq-header {
    padding: 20px 16px 16px;
  }

  .lpinv__eq-title {
    font-size: 18px;
  }

  .lpinv__eq-body {
    padding: 16px 16px 20px;
  }

  .lpinv__eq-step {
    gap: 14px;
  }

  .lpinv__eq-progress-label {
    display: none;
  }

  .lpinv__eq-progress-divider {
    min-width: 16px;
  }

  .lpinv__eq-options {
    gap: 10px;
  }

  .lpinv__eq-option {
    gap: 12px;
    padding: 14px 16px;
    align-items: flex-start;
  }

  .lpinv__eq-option.is-selected {
    padding-left: 14px;
  }

  .lpinv__eq-option-title {
    font-size: 14px;
  }

  .lpinv__eq-option-desc {
    font-size: 11px;
  }

  .lpinv__eq-badge {
    font-size: 9px;
    padding: 3px 8px;
  }

  .lpinv__eq-actions {
    flex-direction: row;
    gap: 8px;
  }

  .lpinv__eq-next {
    padding: 13px 16px;
    font-size: 14px;
  }

  .lpinv__eq-result {
    padding: 6px 0 4px;
    gap: 12px;
  }

  .lpinv__eq-result-icon {
    font-size: 36px;
  }

  .lpinv__eq-result-icon svg {
    width: 40px;
    height: 40px;
  }

  .lpinv__eq-result-title {
    font-size: 18px;
  }

  .lpinv__eq-result-body {
    font-size: 13px;
  }

  .lpinv__eq-result-list li {
    font-size: 13px;
  }

  .lpinv__eq-result-list li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .lpinv__eq-result-cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
}
