html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}


.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* --- DogFocus brand --- */
:root {
  --df-red: #dc3545;
  --df-ink: #212529;
  --df-muted: #6c757d;
  --df-border: #e9ecef;
}

body {
  color: var(--df-ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; }

/* Section headings: small red accent bar, consistent rhythm */
main h2 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--df-red);
}

.navbar-brand img { border-radius: 6px; }

/* Hero band on the home page */
.hero {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
  border-bottom: 1px solid #f1d7d9;
  padding: 2.5rem 1rem;
  margin: -1rem -15px 1.5rem; /* bleed to the container edges */
  text-align: center;
}
.hero h1 { font-weight: 700; }
.hero .lead { max-width: 640px; margin: 0.5rem auto 1.25rem; color: #555; }

/* Report cards (home + lists) */
.report-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.9rem;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: box-shadow .15s ease;
}
.report-card:hover { box-shadow: 0 3px 10px rgba(0,0,0,.10); }
.report-card img {
  width: 96px; height: 96px; object-fit: cover;
  border-radius: 8px; flex-shrink: 0;
}
.report-card .badge-type {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; padding: .15rem .5rem; border-radius: 999px;
  color: #fff;
}
.badge-type.lost { background: var(--df-red); }
.badge-type.found { background: #198754; }

/* Maps: framed instead of a raw tile rectangle */
.map-frame {
  border: 1px solid var(--df-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.map-legend { display: flex; gap: 1rem; align-items: center; margin: 0.5rem 0 0; color: var(--df-muted); font-size: .9rem; }
.map-legend .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .35rem; }
.map-legend .dot.lost { background: var(--df-red); }
.map-legend .dot.found { background: #198754; }

/* Reunited stat pill (hero social proof) */
.stat-pill {
  display: inline-block;
  background: #d1e7dd; color: #0f5132;
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .95rem;
  margin-top: 1rem;
}

/* Photo strips on report/manage pages */
.photo-strip { display: flex; flex-wrap: wrap; gap: .5rem; }
.photo-strip img {
  width: 220px; height: 220px; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--df-border);
}
.photo-strip.small img { width: 130px; height: 130px; }

/* Message cards (manage page) */
.message-card {
  border: 1px solid var(--df-border);
  border-left: 3px solid var(--df-red);
  border-radius: 8px;
  padding: .75rem 1rem;
  margin-bottom: .75rem;
  max-width: 700px;
  background: #fff;
}

/* Footer */
footer.footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  background: #f8f9fa;
  border-top: 1px solid var(--df-border);
  font-size: .9rem;
  color: var(--df-muted);
}
footer.footer a { color: var(--df-muted); text-decoration: none; margin-right: 1rem; }
footer.footer a:hover { color: var(--df-ink); }