/* Safety layout so problem page never looks "raw" */
.problem-page { padding: 2rem 0 3.5rem; min-height: 60vh; }
.problem-page__inner { max-width: 920px; margin-inline: auto; }
.problem-intro { text-align: center; margin-bottom: 1.75rem; }
.problem-intro__kicker,
.problem-intro__eyebrow { color: var(--color-primary, #e67e22); font-size: 0.85rem; font-weight: 600; margin: 0 0 0.5rem; }
.problem-intro__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.5rem; color: var(--color-text, #1b2a4a); }
.problem-intro__desc { margin: 0; color: var(--color-muted, #64748b); font-size: 0.95rem; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 1.25rem 0;
}
.problem-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: right;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  font: inherit;
  color: inherit;
  text-decoration: none;
}
.problem-card:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: #fdba74;
  box-shadow: 0 14px 32px rgba(230, 126, 34, 0.12);
}
.problem-card:disabled,
.problem-card--soon { opacity: 0.65; cursor: not-allowed; }
.problem-card__icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #fff7ed;
  color: #c2410c;
}
.problem-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.problem-card__title { font-size: 1rem; font-weight: 700; }
.problem-card__hint { font-size: 0.82rem; color: #64748b; }
.problem-card__badge {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  white-space: nowrap;
}
.problem-card__badge--soon { background: #f1f5f9; color: #64748b; }
.problem-card__arrow { color: #94a3b8; font-size: 1.1rem; }

.problem-confirm { margin-top: 1.5rem; }
.problem-confirm__card {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid #fed7aa;
  background: linear-gradient(180deg, #fffbeb, #fff);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  text-align: center;
}
.problem-confirm__kicker { color: #c2410c; font-size: 0.8rem; font-weight: 600; margin: 0 0 0.35rem; }
.problem-confirm__title { margin: 0 0 0.5rem; font-size: 1.2rem; }
.problem-confirm__choice { font-size: 1.05rem; font-weight: 700; color: #9a3412; margin: 0.25rem 0 0.75rem; }
.problem-confirm__desc { color: #64748b; font-size: 0.9rem; line-height: 1.7; margin: 0 0 1.25rem; }
.problem-confirm__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.problem-confirm__hint { margin: 1rem 0 0; font-size: 0.78rem; color: #94a3b8; }

.problem-note { text-align: center; color: #64748b; font-size: 0.88rem; margin-top: 1rem; }
.problem-resume {
  margin: 0 auto 1rem;
  max-width: 640px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 560px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 14px; }
}
