/* ============================================================
   Wedding Cost Calculator – Styles
   ============================================================ */

.wedding-subtitle {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.wedding-card { max-width: 620px; display: block; }

/* ── Steps ── */
.w-step { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.w-step:last-child { border-bottom: none; }
.w-step.hidden { display: none; }

.w-step-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.w-step-num {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-dark); color: #fff;
  font-weight: 700; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.w-step-title { font-size: 1rem; font-weight: 600; color: var(--text-dark); }

/* ── Style grid ── */
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

.style-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 1rem 0.5rem;
  border: 2px solid var(--border); border-radius: 8px;
  background: #fff; cursor: pointer; font-family: var(--font);
  transition: all 0.15s;
}
.style-btn:hover { border-color: var(--green-main); background: var(--green-pale); }
.style-btn.selected { border-color: var(--green-dark); background: var(--green-light); }

.style-icon { font-size: 1.8rem; line-height: 1; }
.style-name { font-size: 0.95rem; font-weight: 700; color: var(--text-dark); }
.style-range { font-size: 0.78rem; color: var(--text-muted); }

/* ── Guest slider ── */
.guest-row {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem;
}
.guest-slider {
  flex: 1; accent-color: var(--green-dark); height: 6px;
}
.guest-val {
  min-width: 42px; text-align: center; font-size: 1.4rem;
  font-weight: 700; color: var(--green-dark);
}
.guest-hint { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; }

/* ── Location/date selects ── */
.w-select-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin-bottom: 1rem;
}
.w-select-wrap label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-mid); margin-bottom: 0.35rem;
}
.w-select {
  width: 100%; padding: 0.55rem 0.7rem;
  border: 1px solid var(--border); border-radius: 5px;
  font-size: 0.88rem; background: #fff; font-family: var(--font);
  outline: none;
}
.w-select:focus { border-color: var(--green-dark); }

.w-calc-btn {
  width: 100%; padding: 0.85rem;
  background: var(--green-dark); color: #fff;
  border: none; border-radius: 6px;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: background 0.15s;
}
.w-calc-btn:hover { background: #1b5e20; }

/* ── Results section ── */
.w-results { margin-top: 1.5rem; }
.w-results.hidden { display: none; }

.w-summary-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.w-pill {
  background: var(--green-light); border: 1px solid var(--green-mid);
  border-radius: 20px; padding: 0.3rem 0.85rem;
  font-size: 0.82rem; font-weight: 600; color: var(--green-dark);
}

.w-total-banner {
  background: var(--green-dark); color: #fff;
  border-radius: 8px; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem;
}
.w-total-label { font-size: 0.88rem; opacity: 0.85; margin-bottom: 0.25rem; }
.w-total-amount { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.w-total-note { font-size: 0.82rem; opacity: 0.75; margin-top: 0.4rem; }

/* ── Cost cards grid ── */
.w-cost-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.w-cost-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 0.85rem 1rem; text-align: center;
}
.w-cost-card-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 0.3rem; }
.w-cost-card-val { font-size: 1.3rem; font-weight: 700; color: var(--green-dark); }

/* ── Breakdown bars ── */
.w-breakdown { margin-bottom: 1.25rem; }
.w-bar-row { margin-bottom: 0.75rem; }
.w-bar-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.w-bar-track { background: #e8f5e9; border-radius: 4px; height: 10px; overflow: hidden; }
.w-bar-fill { height: 100%; background: var(--green-dark); border-radius: 4px; transition: width 0.5s ease; }

/* ── Hidden costs note ── */
.w-hidden-note {
  background: #fff8e1; border: 1px solid #ffe082;
  border-radius: 6px; padding: 0.75rem 1rem;
  font-size: 0.85rem; color: #5d4037; margin-bottom: 1.25rem;
}
.w-hidden-note.hidden { display: none; }

/* ── Budget checker ── */
.w-budget-block {
  background: var(--green-pale); border: 1px solid var(--border);
  border-radius: 6px; padding: 1rem; margin-bottom: 1rem;
}
.w-budget-label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--text-dark); margin-bottom: 0.6rem; }
.w-budget-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.w-budget-symbol { font-size: 1rem; font-weight: 600; color: var(--text-mid); }
.w-budget-input {
  width: 160px; padding: 0.5rem 0.75rem;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 0.95rem; outline: none; font-family: var(--font);
}
.w-budget-input:focus { border-color: var(--green-dark); }

.w-verdict { font-size: 0.9rem; font-weight: 600; padding: 0.6rem 0.85rem; border-radius: 4px; display: none; }
.w-verdict.yes { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; display: block; }
.w-verdict.no  { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; display: block; }

/* ── Restart ── */
.w-restart {
  padding: 0.65rem 1.5rem;
  background: #fff; border: 2px solid var(--green-dark);
  border-radius: 5px; color: var(--green-dark);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; font-family: var(--font); transition: all 0.15s;
}
.w-restart:hover { background: var(--green-dark); color: #fff; }

/* ── SEO section ── */
.w-seo { margin-top: 2rem; padding-top: 1.5rem; border-top: 2px solid var(--border); }
.w-seo h2 { font-size: 1.3rem; font-weight: 700; color: var(--text-dark); margin: 1.5rem 0 0.65rem; }
.w-seo h2:first-child { margin-top: 0; }
.w-seo p { font-size: 0.9rem; line-height: 1.75; color: var(--text-mid); margin-bottom: 0.85rem; }

.w-seo-table {
  width: 100%; border-collapse: collapse; font-size: 0.87rem; margin: 0.75rem 0 1.25rem;
}
.w-seo-table th, .w-seo-table td { padding: 0.6rem 0.8rem; border: 1px solid var(--border); text-align: left; }
.w-seo-table th { background: var(--green-pale); font-weight: 600; color: var(--text-dark); }
.w-seo-table tr:nth-child(even) td { background: #fafcfa; }
.w-seo-source { font-size: 0.82rem; color: var(--text-muted); margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }

/* ── Side info cards ── */
.w-info-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.1rem; }
.w-info-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem; }

.w-tips { list-style: none; font-size: 0.85rem; color: var(--text-mid); }
.w-tips li { padding: 0.45rem 0; border-bottom: 1px solid #f0f4f0; line-height: 1.45; }
.w-tips li:last-child { border-bottom: none; }

.w-cost-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
.w-cost-table th, .w-cost-table td { padding: 0.45rem 0.6rem; border: 1px solid var(--border); text-align: left; }
.w-cost-table th { background: var(--green-pale); font-weight: 600; }
