.provider-options {
  display: grid;
  gap: 12px;
  margin: 12px 0;
}

.provider-option {
  position: relative;
  overflow: hidden;
  padding: 16px 17px 14px;
  border: 1px solid rgba(18, 111, 114, .16);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(143, 222, 213, .18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(238, 246, 244, .84));
  box-shadow: 0 18px 44px -34px rgba(13, 95, 98, .72);
}

.provider-option::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 4px;
  background: linear-gradient(180deg, #126f72, #3f8f22);
}

.provider-option-copy {
  position: absolute;
  inset: 10px auto auto 10px;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 9px;
  border: 1px solid rgba(18, 111, 114, .15);
  border-radius: 11px;
  background: rgba(255, 255, 255, .88);
  color: #126f72;
  cursor: pointer;
  box-shadow: 0 12px 28px -22px rgba(13, 95, 98, .75);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.provider-option-copy:hover,
.provider-option-copy:focus-visible {
  transform: translateY(-1px);
  background: #126f72;
  color: #fff;
  outline: none;
}

.provider-option-copy span { font-size: 12px; font-weight: 800; }
.provider-option-copy svg { width: 15px; height: 15px; }
.provider-option-copy.copied { background: #3f8f22; color: #fff; }

.provider-option-content { padding-inline-start: 54px; }
.provider-option-actions { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.provider-option-map-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(18, 111, 114, .09);
  color: #0d5f62 !important;
  font-size: 12.5px;
  font-weight: 800;
}

.provider-map-shell {
  overflow: hidden;
  margin-top: 15px;
  border: 1px solid rgba(18, 111, 114, .18);
  border-radius: 24px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 24px 64px -42px rgba(13, 95, 98, .9);
}

.provider-map-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 12% 0, rgba(143, 222, 213, .22), transparent 34%),
    linear-gradient(120deg, #f4fbfa, #eef6fb);
  border-bottom: 1px solid rgba(18, 111, 114, .11);
}

.provider-map-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.provider-map-title-icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #126f72, #3f8f22);
  color: #fff;
  box-shadow: 0 14px 28px -18px rgba(13, 95, 98, .9);
}
.provider-map-title strong { display: block; color: #173231; font-size: 15px; line-height: 1.25; }
.provider-map-title small { display: block; margin-top: 2px; color: #647b79; font-size: 11.5px; }
.provider-map-source {
  flex: none;
  padding: 5px 9px;
  border: 1px solid rgba(63, 143, 34, .18);
  border-radius: 999px;
  background: rgba(63, 143, 34, .08);
  color: #317218;
  font-size: 10.5px;
  font-weight: 900;
}

.provider-map-canvas { height: 330px; background: #eaf2f0; direction: ltr; }
.provider-map-canvas .leaflet-control-attribution { font-size: 9px; }
.provider-map-canvas .leaflet-popup-content-wrapper { border-radius: 15px; }
.provider-map-canvas .leaflet-popup-content { margin: 12px 14px; direction: rtl; font-family: Heebo, sans-serif; }
.provider-map-canvas .leaflet-popup-content strong { display: block; color: #173231; font-size: 13px; }
.provider-map-canvas .leaflet-popup-content span { color: #647b79; font-size: 11.5px; }
.provider-map-popup-shared { display: grid; gap: 9px; }
.provider-map-popup-shared > div + div { padding-top: 9px; border-top: 1px solid #dfecea; }

.provider-map-pin {
  width: 34px !important;
  height: 34px !important;
  margin: -17px 0 0 -17px !important;
  display: grid !important;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 9px;
  background: linear-gradient(145deg, #126f72, #3f8f22);
  color: #fff;
  font: 800 13px/1 Heebo, sans-serif;
  box-shadow: 0 8px 18px rgba(13, 95, 98, .34);
  transform: rotate(-45deg);
}
.provider-map-pin span { transform: rotate(45deg); }
.provider-map-pin-shared {
  width: 54px !important;
  min-width: 54px;
  margin-left: -27px !important;
  padding-inline: 8px;
  border-radius: 999px !important;
  transform: none;
}
.provider-map-pin-shared span { transform: none; letter-spacing: .03em; }

.provider-map-list { display: grid; gap: 1px; background: #e5efed; }
.provider-map-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: #fff;
}
.provider-map-index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e6f3f1;
  color: #0d5f62;
  font-size: 12px;
  font-weight: 900;
}
.provider-map-row-copy { min-width: 0; }
.provider-map-row-copy strong { display: block; overflow: hidden; color: #173231; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.provider-map-row-copy small { display: block; overflow: hidden; color: #7a908d; font-size: 10.5px; text-overflow: ellipsis; white-space: nowrap; }
.provider-map-choose {
  min-height: 32px;
  padding: 5px 10px;
  border: 0;
  border-radius: 10px;
  background: #126f72;
  color: #fff;
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 800;
}
.provider-map-choose:hover,
.provider-map-choose:focus-visible { background: #0d5f62; outline: 3px solid rgba(18, 111, 114, .15); }
.provider-map-state { padding: 22px 16px; color: #647b79; text-align: center; font-size: 13px; }
.provider-map-state.error { color: #9b4f48; }

@media (max-width: 620px) {
  .provider-options { gap: 10px; margin-block: 10px; }
  .provider-option { padding: 15px 14px 13px; border-radius: 18px; }
  .provider-option-content { padding-inline-start: 52px; }
  .provider-option-copy {
    inset: 9px auto auto 9px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 13px;
  }
  .provider-option-copy span { display: none; }
  .provider-option-map-link { min-height: 40px; padding-inline: 12px; }
  .provider-map-shell { margin-top: 12px; border-radius: 20px; }
  .provider-map-head { gap: 10px; padding: 12px 13px; }
  .provider-map-title { gap: 9px; }
  .provider-map-title-icon { width: 36px; height: 36px; border-radius: 12px; }
  .provider-map-title strong { font-size: 14px; }
  .provider-map-title small { font-size: 11px; line-height: 1.35; }
  .provider-map-canvas { height: 245px; }
  .provider-map-source { display: none; }
  .provider-map-row {
    min-height: 66px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    gap: 8px;
    padding: 9px 10px;
  }
  .provider-map-row-copy strong {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .provider-map-row-copy small { margin-top: 2px; }
  .provider-map-choose {
    min-width: 52px;
    min-height: 44px;
    padding-inline: 10px;
    border-radius: 12px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .provider-option { padding-inline: 12px; }
  .provider-option-content { padding-inline-start: 50px; }
  .provider-map-canvas { height: 225px; }
  .provider-map-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 7px; padding-inline: 8px; }
  .provider-map-index { width: 27px; height: 27px; }
  .provider-map-choose { min-width: 50px; padding-inline: 8px; }
}
