/* =========================================================
   Option Select — shared layout (Solutions & Actions)
   ========================================================= */
.sol-page {
  --sol-ink: #1b2340;
  --sol-ink-soft: #4b5373;
  --sol-muted: #6b7280;
  --sol-accent: #d4af37;
  --sol-accent-dark: #b8941f;
  --sol-accent-deep: #a67c12;
  --sol-accent-soft: #fdf6e3;
  --sol-line: rgba(27, 35, 64, 0.08);
  --sol-line-strong: rgba(27, 35, 64, 0.14);

  min-height: 100vh;
  padding: clamp(24px, 4vw, 48px) clamp(14px, 3vw, 28px) 32px;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(212, 175, 55, 0.16), transparent 60%),
    radial-gradient(720px 520px at -10% 110%, rgba(27, 35, 64, 0.06), transparent 60%),
    linear-gradient(180deg, #fdfcf8 0%, #f4f0e6 100%);
}

.sol-wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* ---------- Header ---------- */
.sol-header {
  text-align: center;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.sol-badge {
  display: inline-block;
  padding: 6px 16px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b5210;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
}

.sol-title {
  margin: 0 0 10px;
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--sol-ink);
  text-wrap: balance;
}

.sol-subtitle {
  margin: 0;
  font-size: 1rem;
  color: var(--sol-muted);
}

/* ---------- Card ---------- */
.sol-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 3vw, 26px);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  border: 1px solid var(--sol-line);
  border-radius: 20px;
  box-shadow:
    0 22px 50px -34px rgba(27, 35, 64, 0.45),
    0 2px 6px rgba(27, 35, 64, 0.04);
}

.sol-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sol-accent), #e8cd70, var(--sol-accent));
}

/* ---------- Options ---------- */
.sol-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 13px 16px;
  margin: 0;
  background: #ffffff;
  border: 1.5px solid var(--lee-gray-200);
  border-radius: 12px;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sol-item:hover {
  background: #fffdf5;
  border-color: rgba(212, 175, 55, 0.65);
  transform: translateX(2px);
}

.sol-item.selected {
  background: var(--sol-accent-soft);
  border-color: var(--sol-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.sol-item input[type='checkbox'] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.sol-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lee-gray-100, #f3f4f6);
  color: var(--lee-gray-600, #4b5563);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.sol-item.selected .sol-num {
  color: #ffffff;
  background: var(--sol-accent);
  box-shadow: 0 2px 6px rgba(184, 148, 31, 0.35);
}

.sol-text {
  flex: 1 1 auto;
  font-family: 'Noto Sans Telugu', var(--lee-font);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--lee-gray-700, #374151);
}

.sol-item.selected .sol-text {
  color: var(--lee-gray-900, #111827);
}

.sol-tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--lee-gray-300, #d1d5db);
  border-radius: 8px;
  background: #ffffff;
  color: transparent;
  font-size: 0.9rem;
  font-weight: 800;
  transition: all 0.2s ease;
}

.sol-item:hover .sol-tick {
  border-color: var(--sol-accent);
}

.sol-item.selected .sol-tick {
  color: #ffffff;
  background: var(--sol-accent);
  border-color: var(--sol-accent-dark);
}

/* ---------- New idea ---------- */
.sol-idea-box {
  padding: 10px 4px 4px 44px;
}

.sol-idea-box textarea {
  width: 100%;
  min-height: 96px;
  padding: 12px 14px;
  font-family: 'Noto Sans Telugu', var(--lee-font);
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--lee-gray-700, #374151);
  background: #ffffff;
  border: 1.5px solid var(--lee-gray-300, #d1d5db);
  border-radius: 12px;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sol-idea-box textarea:focus {
  outline: none;
  border-color: var(--sol-accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.sol-idea-error {
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c0392b;
}

/* ---------- Submit ---------- */
.sol-submit {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.sol-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  min-height: 54px;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sol-accent) 0%, var(--sol-accent-dark) 100%);
  border: none;
  border-radius: 13px;
  box-shadow: 0 16px 32px -18px rgba(184, 148, 31, 0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sol-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #c9a227 0%, #a67c12 100%);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -18px rgba(184, 148, 31, 0.85);
}

.sol-submit-btn:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.45);
  outline-offset: 3px;
}

.sol-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ---------- Sweet alert ---------- */
.sol-swal-popup.swal2-popup {
  padding: 30px 28px;
  font-family: var(--lee-font);
  border: 1px solid rgba(27, 35, 64, 0.08);
  border-radius: 20px;
  box-shadow: 0 30px 70px -30px rgba(27, 35, 64, 0.5);
}

.sol-swal-popup .swal2-title {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--sol-ink);
}

.sol-swal-popup .swal2-html-container {
  font-size: 1.02rem;
  color: var(--sol-ink-soft);
}

.sol-swal-popup .swal2-confirm {
  font-weight: 700;
  border-radius: 11px;
  box-shadow: 0 14px 28px -16px rgba(184, 148, 31, 0.8);
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .sol-item,
  .sol-submit-btn {
    transition: none;
  }

  .sol-item:hover,
  .sol-submit-btn:hover:not(:disabled) {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .sol-card {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .sol-title {
    font-size: 1.45rem;
  }

  .sol-item {
    gap: 12px;
    min-height: 50px;
    padding: 12px 14px;
  }

  .sol-text {
    font-size: 0.94rem;
  }

  .sol-idea-box {
    padding-left: 40px;
  }
}
