/* Zone / woreda / kebele cards + Leaflet map — loaded from the geo partial. */
.opo-geo { margin: 1.25rem 0 0; }
.opo-geo__links { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 0.75rem 0 0; }
.opo-geo__links a { font-weight: 700; color: #1b7a3a; }
.opo-geo__counts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.opo-geo__count {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e4e6e2;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  box-shadow: 0 1px 3px rgba(26, 36, 32, 0.06);
  text-decoration: none;
  color: inherit;
}
.opo-geo__count i { font-size: 1.35rem; width: 1.4em; text-align: center; }
.opo-geo__count strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}
.opo-geo__count span { color: #5b675f; font-size: 0.85rem; font-weight: 600; }
.opo-geo__count--zones { border-color: #b7dcc3; }
.opo-geo__count--zones i, .opo-geo__count--zones strong { color: #1b7a3a; }
.opo-geo__count--woredas { border-color: #ead7a0; }
.opo-geo__count--woredas i, .opo-geo__count--woredas strong { color: #c48912; }
.opo-geo__count--kebeles { border-color: #b5d9d8; }
.opo-geo__count--kebeles i, .opo-geo__count--kebeles strong { color: #0e7c7b; }
.opo-geo__count--cities { border-color: #b7c8e4; }
.opo-geo__count--cities i, .opo-geo__count--cities strong { color: #2b5ea7; }
.opo-geo__map {
  height: 420px;
  min-height: 360px;
  width: 100%;
  margin: 0 0 1.25rem;
  border: 1px solid #dce3de;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eee9;
}
.opo-geo__map.leaflet-container,
.opo-geo__map .leaflet-container { height: 100%; width: 100%; }
.card-body > .opo-geo { margin-top: 0; }
.opo-geo__tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0 0 1rem;
  flex-wrap: wrap;
}
.opo-geo__trail { flex: 1; min-width: 12rem; }
.opo-geo__trail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 700;
  color: #1a2420;
}
.opo-geo__trail-list li { display: flex; align-items: center; gap: 0.35rem; }
.opo-geo__trail-list li:not(:last-child)::after {
  content: "/";
  color: #8a948d;
  font-weight: 600;
}
.opo-geo__trail-list button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: #1b7a3a;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.opo-geo__search-wrap {
  position: relative;
  flex: 0 1 18rem;
  margin: 0;
}
.opo-geo__search-wrap i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6a736c;
}
.opo-geo__search {
  width: 100%;
  border: 1px solid #d5ddd8;
  border-radius: 999px;
  padding: 0.5rem 0.9rem 0.5rem 2.1rem;
  font: inherit;
}
.opo-geo__search-wrap .opo-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  max-height: 16rem;
  overflow: auto;
  background: #fff;
  border: 1px solid #d5ddd8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.opo-geo__search-wrap .opo-suggest__item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font: inherit;
}
.opo-geo__search-wrap .opo-suggest__item:hover,
.opo-geo__search-wrap .opo-suggest__item:focus {
  background: #f4f7f5;
}
.opo-geo .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.opo-geo__profile { margin: 0; }
.opo-geo__profile .opo-geo__card-icon {
  margin: 0 auto 0.65rem;
  width: 48px;
  height: 48px;
}
.opo-geo__card-icon--zone { background: #e7f5eb; color: #1b7a3a; }
.opo-geo__card-icon--woreda { background: #f8efd6; color: #c48912; }
.opo-geo__card-icon--kebele { background: #e4f5f4; color: #0e7c7b; }
.opo-geo__profile-cta { margin: 1rem 0 0; }
.opo-geo__home {
  appearance: none;
  background: #eef6f0;
  border: 1px solid #cfe3d5;
  color: #1b7a3a;
  font: inherit;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  cursor: pointer;
}
.opo-geo__crumb {
  font-weight: 700;
  color: #1a2420;
}
.opo-geo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
  align-items: stretch;
}
.opo-geo button.opo-geo__card,
button.opo-geo__card {
  all: unset;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  min-height: 148px;
  padding: 0 !important;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #e2e8e6 !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(26, 36, 32, 0.08);
  cursor: pointer;
  color: #1a2420;
  font: inherit;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.opo-geo button.opo-geo__card:hover,
button.opo-geo__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 122, 58, 0.16);
}
.opo-geo button.opo-geo__card:focus-visible {
  outline: 2px solid #1b7a3a;
  outline-offset: 2px;
}
.opo-geo__card-bar { height: 8px; }
.opo-geo__card--zone .opo-geo__card-bar { background: #1b7a3a; }
.opo-geo__card--woreda .opo-geo__card-bar { background: #c48912; }
.opo-geo__card--kebele .opo-geo__card-bar { background: #0e7c7b; }
.opo-geo__card--zone:hover { border-color: #1b7a3a !important; }
.opo-geo__card--woreda:hover { border-color: #c48912 !important; }
.opo-geo__card--kebele:hover { border-color: #0e7c7b !important; }
.opo-geo__card-body {
  padding: 1rem 1.1rem 1.05rem;
  flex: 1;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.opo-geo__card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.opo-geo__card--zone .opo-geo__card-icon { background: #e7f5eb; color: #1b7a3a; }
.opo-geo__card--woreda .opo-geo__card-icon { background: #f8efd6; color: #c48912; }
.opo-geo__card--kebele .opo-geo__card-icon { background: #e4f5f4; color: #0e7c7b; }
.opo-geo__card-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.opo-geo button.opo-geo__card h3,
.opo-geo__card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #142018;
}
.opo-geo button.opo-geo__card p,
.opo-geo__card p {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  color: #5b675f;
}
.opo-geo button.opo-geo__card ul,
.opo-geo__card ul,
.opo-geo__detail ul {
  list-style: none;
  margin: auto 0 0;
  padding: 0.55rem 0 0;
  border-top: 1px solid #eef2ef;
  color: #3d4a45;
  font-size: 0.82rem;
}
.opo-geo button.opo-geo__card li,
.opo-geo__card li,
.opo-geo__detail li { margin: 0.15rem 0; padding: 0; }
.opo-geo__card li .fa-map-marker-alt,
.opo-geo__detail li .fa-map-marker-alt { color: inherit; margin-right: 0.3rem; }
.opo-geo__detail {
  background: #fff;
  border: 1px solid #e4e6e2;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin: 0 0 1rem;
}
.opo-geo__detail p { margin: 0 0 0.5rem; color: #5b675f; }
.opo-dash-map .opo-geo__map { height: 380px; min-height: 320px; }

.opo-pdash { margin: 1.5rem 0 0; }
.opo-pdash__select {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 1.25rem;
  background: #fff;
  border: 1px solid #e4e6e2;
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.opo-pdash__select label { font-weight: 700; margin: 0; }
.opo-pdash__select select {
  min-width: 16rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid #d5ddd8;
  border-radius: 8px;
  font: inherit;
}
.opo-pdash__panel > h3 { margin: 0 0 0.75rem; }
.opo-pdash__panel > p { color: #5b675f; }
.opo-pdash__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.opo-pdash__list li {
  background: #fff;
  border: 1px solid #e4e6e2;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  box-shadow: 0 1px 3px rgba(26, 36, 32, 0.06);
}
.opo-pdash__list strong { display: block; }
.opo-pdash__list span { display: block; color: #6a736c; font-size: 0.85rem; margin-top: 0.25rem; }
.opo-pdash__list i { margin-right: 0.3rem; color: #1b7a3a; }
