/* ==========================================================================
   Case Listing + Report Wizard
   ========================================================================== */

/* ── Demo banner ─────────────────────────────────────────────────── */

.demo-banner {
  background: #fff8e6;
  border-bottom: 1px solid #ffe0a0;
  padding: 9px 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #7a5a00;
}

.demo-banner i { color: #d4900a; flex-shrink: 0; }

.demo-banner a {
  color: #a07000;
  font-weight: 600;
  margin-left: auto;
  text-decoration: none;
}

.demo-banner a:hover { text-decoration: underline; }

/* ── Listing bar ─────────────────────────────────────────────────── */

.listing-bar {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 60px;
  z-index: 40;
}

.listing-bar__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 28px;
}

.listing-bar__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.listing-bar__title {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-bar__count {
  font-size: 12px;
  font-weight: 600;
  background: #f0f0f0;
  color: #888;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
}

.listing-bar__report {
  flex-shrink: 0;
  font-size: 13px;
  padding: 8px 18px;
}

/* Filters */
.listing-filters__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: #666;
  background: #f5f5f5;
  text-decoration: none;
  transition: background .12s, color .12s;
}

.filter-tab:hover { background: #ebebeb; color: #333; text-decoration: none; }
.filter-tab.active { background: #DD7878; color: #fff; }
.filter-tab .bi-exclamation-circle-fill { color: #e07070; }
.filter-tab.active .bi-exclamation-circle-fill { color: rgba(255,255,255,.8); }
.filter-tab .bi-check-circle-fill { color: #28a745; }
.filter-tab.active .bi-check-circle-fill { color: rgba(255,255,255,.8); }

.listing-filters__row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-species {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  flex: 1;
}

.species-btn {
  padding: 4px 13px;
  border-radius: 999px;
  border: 1.5px solid #ddd;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}

.species-btn:hover { border-color: #DD7878; color: #DD7878; }
.species-btn.active { border-color: #DD7878; background: #DD7878; color: #fff; }

.filter-search {
  display: flex;
  align-items: center;
  border: 1.5px solid #ddd;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  transition: border-color .15s;
}

.filter-search:focus-within { border-color: #DD7878; }
.filter-search > i { padding: 0 10px 0 14px; color: #aaa; font-size: 14px; }

.filter-search__input {
  border: none;
  outline: none;
  font-size: 13px;
  font-family: 'Roboto', sans-serif;
  padding: 7px 4px;
  width: 200px;
  background: transparent;
}

.filter-search__btn {
  background: #DD7878;
  color: #fff;
  border: none;
  padding: 7px 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s;
}

.filter-search__btn:hover { background: #c45f5f; }

/* ── Case grid ───────────────────────────────────────────────────── */

.listing-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 28px 60px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.case-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}

.case-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.case-card__img {
  position: relative;
  aspect-ratio: 5/4;  /* a little taller than 4:3 so heads are not cropped */
  overflow: hidden;
  background: #f5f5f5;
}

.case-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;  /* pets' faces sit in the upper part of the photo */
}

.case-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #ccc;
}

.case-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.case-badge--lost { background: #DD7878; color: #fff; }
.case-badge--found { background: #28a745; color: #fff; }

.case-card__body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.case-card__name {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111;
}

.case-card__breed {
  font-size: 12px;
  color: #888;
}

.case-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
}

.case-card__meta span {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.case-card__meta i { color: #DD7878; font-size: 11px; }

.case-card__ref {
  margin-top: auto;
  padding-top: 8px;
  font-size: 10.5px;
  font-family: 'Poppins', sans-serif;
  color: #bbb;
  letter-spacing: .03em;
}

/* Empty state */
.listing-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  color: #ccc;
  gap: 10px;
}

.listing-empty i { font-size: 48px; }
.listing-empty h3 { font-family: 'Raleway', sans-serif; font-size: 20px; color: #bbb; margin: 0; }
.listing-empty p { font-size: 14px; color: #ccc; margin: 0; }
.listing-empty a { color: #DD7878; }

/* ── Report wizard ───────────────────────────────────────────────── */

.report-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* Step indicator */
.report-steps {
  margin-bottom: 28px;
}

.report-steps__inner {
  display: flex;
  align-items: center;
  gap: 0;
}

.report-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.report-step__dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  color: #bbb;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s, color .2s;
}

.report-step.is-active .report-step__dot {
  border-color: #DD7878;
  background: #DD7878;
  color: #fff;
}

.report-step.is-done .report-step__dot {
  border-color: #28a745;
  background: #28a745;
  color: #fff;
}

.report-step__label {
  font-size: 10.5px;
  font-family: 'Poppins', sans-serif;
  color: #bbb;
  white-space: nowrap;
}

.report-step.is-active .report-step__label { color: #DD7878; font-weight: 600; }
.report-step.is-done .report-step__label { color: #28a745; }

.report-step__line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  margin: 0 4px;
  margin-bottom: 18px;
  transition: background .2s;
}

.report-step__line.is-done { background: #28a745; }

/* Report card */
.report-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  padding: 32px;
}

.report-card__title {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin: 0 0 6px;
}

.report-card__lead {
  font-size: 14px;
  color: #888;
  margin: 0 0 24px;
  line-height: 1.6;
}

.report-card__sub {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #444;
  margin: 0 0 14px;
}

.report-divider {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 24px 0;
}

/* Type chooser */
.report-type-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.report-type-opt { display: block; cursor: pointer; }
.report-type-opt input { position: absolute; opacity: 0; pointer-events: none; }

.report-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  text-align: center;
  transition: border-color .15s, background .15s;
}

.report-type-btn i { font-size: 24px; color: #bbb; transition: color .15s; }
.report-type-btn strong { font-size: 13.5px; font-weight: 700; color: #333; font-family: 'Poppins', sans-serif; }
.report-type-btn span { font-size: 11.5px; color: #aaa; line-height: 1.3; }

.report-type-opt input:checked + .report-type-btn {
  border-color: #DD7878;
  background: rgba(221,120,120,.04);
}

.report-type-opt input:checked + .report-type-btn i { color: #DD7878; }
.report-type-opt input:checked + .report-type-btn strong { color: #DD7878; }

/* Pet choice list */
.pet-choice-list { display: flex; flex-direction: column; gap: 8px; }

.pet-choice-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}

.pet-choice-row:has(input:checked) {
  border-color: #DD7878;
  background: rgba(221,120,120,.04);
}

.pet-choice-row.is-blocked {
  opacity: .55;
  cursor: not-allowed;
  background: #fafafa;
}

.pet-choice-row input[type=radio] { flex-shrink: 0; accent-color: #DD7878; }

.pet-choice-info { flex: 1; min-width: 0; }
.pet-choice-name { display: block; font-size: 14px; font-weight: 600; color: #222; }
.pet-choice-breed { display: block; font-size: 12px; color: #888; margin-top: 1px; }

.pet-choice-new .pet-choice-name { color: #DD7878; }
.pet-choice-new .pet-choice-name i { margin-right: 4px; }

.pet-choice-tag {
  font-size: 10.5px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  background: #f0f0f0;
  color: #999;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* Form grid */
.report-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

.report-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.report-field--full { grid-column: 1 / -1; }

.report-field label {
  font-size: 13px;
  font-weight: 600;
  color: #444;
  font-family: 'Poppins', sans-serif;
}

.req { color: #DD7878; }
.report-optional { font-size: 11px; font-weight: 400; color: #aaa; }

.report-field input[type=text],
.report-field input[type=date],
.report-field input[type=time],
.report-field select,
.report-field textarea {
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: #222;
  background: #fafafa;
  outline: none;
  transition: border-color .15s, background .15s;
  width: 100%;
  box-sizing: border-box;
}

.report-field input:focus,
.report-field select:focus,
.report-field textarea:focus {
  border-color: #DD7878;
  background: #fff;
}

.report-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }

/* Color grid */
.color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.color-opt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  color: #555;
  cursor: pointer;
}

.color-opt input { accent-color: #DD7878; }

.color-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  flex-shrink: 0;
}

.color-hint {
  font-size: 13px;
  color: #888;
  margin: 4px 0 0;
}

/* ── Location picker ─────────────────────────────────────────────────── */
.loc-section {
  margin: 24px 0 20px;
  border: 1px solid #e5e7ef;
  border-radius: 12px;
  padding: 20px;
  background: #fafbfc;
}
.loc-section__title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
}
.loc-section__lead {
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
}

.loc-search-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.loc-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 180px;
}
.loc-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  pointer-events: none;
}
.loc-search-input {
  width: 100%;
  padding: 9px 10px 9px 32px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  box-sizing: border-box;
}
.loc-search-input:focus { outline: none; border-color: #DD7878; box-shadow: 0 0 0 3px rgba(221,120,120,.15); }

.loc-search-btn {
  padding: 9px 18px;
  background: #DD7878;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.loc-search-btn:hover { background: #c96868; }

.loc-myloc-btn {
  padding: 9px 14px;
  background: #fff;
  color: #444;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.loc-myloc-btn:hover { background: #f3f4f6; }
.loc-myloc-btn:disabled { opacity: .6; cursor: not-allowed; }

.loc-map-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  margin-bottom: 10px;
}
#loc-map {
  height: 300px;
  width: 100%;
  background: #e8eaed;
}
.loc-map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248,249,250,.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #888;
  font-size: 14px;
  pointer-events: none;
  z-index: 500;
}
.loc-map-overlay i { font-size: 28px; color: #bbb; }

.loc-confirmed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  margin-top: 6px;
}
.loc-confirmed__icon { color: #16a34a; font-size: 18px; flex-shrink: 0; }
.loc-confirmed__text { flex: 1; min-width: 0; }
.loc-confirmed__text strong { display: block; font-size: 13.5px; color: #15803d; }
.loc-confirmed__text span { font-size: 12px; color: #4ade80; }
.loc-confirmed__clear {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  font-size: 13px;
  flex-shrink: 0;
}
.loc-confirmed__clear:hover { color: #dc2626; background: #fee2e2; }

.loc-error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  color: #dc2626;
  font-size: 13px;
  margin-top: 6px;
}

/* Radio row */
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-opt { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #444; cursor: pointer; }
.radio-opt input { accent-color: #DD7878; }

/* Navigation buttons */
.report-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.report-btn-next, .report-btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 26px;
  background: #DD7878;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .12s, transform .1s;
  text-decoration: none;
}

.report-btn-next:hover, .report-btn-submit:hover { background: #c45f5f; transform: translateY(-1px); }
.report-btn-submit { background: #28a745; }
.report-btn-submit:hover { background: #218838; }

.report-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1.5px solid #ddd;
  border-radius: 999px;
  color: #666;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .12s, color .12s;
}

.report-btn-back:hover { border-color: #999; color: #333; text-decoration: none; }

/* Review */
.review-sections { display: flex; flex-direction: column; gap: 0; margin-bottom: 8px; }

.review-section {
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}

.review-section:last-child { border-bottom: none; }

.review-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.review-section__head h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #999;
  margin: 0;
}

.review-edit {
  font-size: 12px;
  color: #DD7878;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.review-row {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  color: #333;
  padding: 3px 0;
}

.review-label {
  font-weight: 600;
  color: #888;
  min-width: 110px;
  flex-shrink: 0;
}

/* Done page */
.report-done {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.report-done__icon { font-size: 56px; color: #28a745; }

.report-done__title {
  font-family: 'Raleway', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111;
  margin: 0;
}

.report-done__lead { font-size: 15px; color: #666; margin: 0; }

.report-done__ref {
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 14px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 4px 0;
}

.report-done__ref span { font-size: 11.5px; color: #aaa; font-family: 'Poppins', sans-serif; text-transform: uppercase; letter-spacing: .05em; }
.report-done__ref strong { font-size: 22px; font-family: 'Poppins', sans-serif; color: #111; letter-spacing: .04em; }

.report-done__note { font-size: 13.5px; color: #888; max-width: 420px; line-height: 1.6; margin: 0; }

.report-done__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.btn--outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 2px solid #ddd;
  border-radius: 999px;
  color: #555;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .12s, color .12s;
}

.btn--outline:hover { border-color: #999; color: #333; text-decoration: none; }

/* ── Image uploader ──────────────────────────────────────────────── */

.img-uploader__drop {
  border: 2px dashed #dde0e8;
  border-radius: 12px;
  background: #fafafe;
  padding: 26px 20px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-align: center;
}

.img-uploader__drop:hover,
.img-uploader__drop.drag-over {
  border-color: #DD7878;
  background: #fff6f6;
}

.img-uploader__drop i { font-size: 30px; color: #ccc; }
.img-uploader__drop span { font-size: 14px; font-weight: 500; color: #555; }
.img-uploader__drop small { font-size: 12px; color: #bbb; }

.img-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.img-preview-item {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e8e8e8;
  background: #f0f0f0;
  flex-shrink: 0;
}

.img-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-preview-cover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(221, 120, 120, .88);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-align: center;
  padding: 2px 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.img-saved-wrap { margin-bottom: 12px; }

.img-saved-note {
  font-size: 12.5px;
  color: #777;
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.img-clear-btn {
  background: none;
  border: none;
  color: #DD7878;
  font-size: 12.5px;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}

.img-clear-btn:hover { color: #b85555; }

.img-upload-hint {
  font-size: 12px;
  color: #aaa;
  margin-top: 6px;
  font-family: 'Poppins', sans-serif;
}

/* Review images */
.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 0 2px;
}

.review-img-item {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #eee;
  background: #f4f4f4;
  flex-shrink: 0;
}

.review-img-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Responsive ──────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .listing-bar { position: static; }
  .listing-bar__inner { padding: 12px 16px; }
  .listing-wrap { padding: 20px 16px 50px; }
  .filter-search__input { width: 130px; }
}

@media (max-width: 640px) {
  /* Listing */
  .listing-bar__inner { padding: 10px 14px; }
  .listing-bar__top { flex-wrap: wrap; gap: 10px; }
  .listing-bar__title { font-size: 17px; }
  .listing-bar__report { font-size: 12px; padding: 7px 14px; }
  .listing-filters__tabs { flex-wrap: wrap; }
  .filter-tab { font-size: 11.5px; padding: 4px 11px; }
  .listing-filters__row { flex-direction: column; align-items: stretch; gap: 10px; }
  .filter-search { width: 100%; }
  .filter-search__input { flex: 1; width: auto; }
  .filter-species { gap: 4px; }
  .species-btn { font-size: 11px; padding: 3px 10px; }
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .listing-wrap { padding: 14px 12px 50px; }

  /* Report wizard */
  .report-wrap { padding: 16px 12px 60px; }
  .report-card { padding: 20px 16px; border-radius: 12px; }
  .report-card__title { font-size: 18px; }
  .report-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .report-type-row { grid-template-columns: 1fr; }
  .report-type-btn { flex-direction: row; text-align: left; padding: 14px; gap: 12px; }
  .report-type-btn i { font-size: 20px; flex-shrink: 0; }

  /* Step indicator — hide labels to save space on small screens */
  .report-step__label { display: none; }
  .report-step__dot { width: 26px; height: 26px; font-size: 12px; }

  /* Pet choice rows */
  .pet-choice-row { padding: 10px 12px; }

  /* Location picker */
  .loc-search-row { flex-direction: column; }
  .loc-search-input-wrap { width: 100%; }
  .loc-search-btn, .loc-myloc-btn { width: 100%; justify-content: center; }
  #loc-map { height: 240px; }

  /* Nav */
  .report-nav { gap: 10px; }
  .report-btn-next, .report-btn-submit { padding: 10px 20px; font-size: 13px; }
  .report-btn-back { padding: 9px 16px; font-size: 12.5px; }

  /* Review */
  .review-row { flex-direction: column; gap: 2px; }
  .review-label { min-width: unset; }

  /* Done */
  .report-done { padding: 32px 20px; gap: 12px; }
  .report-done__title { font-size: 22px; }
  .report-done__ref { padding: 12px 20px; }
  .report-done__ref strong { font-size: 18px; }
  .report-done__actions { flex-direction: column; align-items: stretch; }
  .report-done__actions a { text-align: center; justify-content: center; }
}

@media (max-width: 360px) {
  .case-grid { grid-template-columns: 1fr; }
}
