.care-map-page {
  color: #16364a;
}
.care-intro {
  background: linear-gradient(115deg, #eaf6fa, #f8fbfd);
  padding: 34px 0 38px;
  border-bottom: 1px solid #dfeaf0;
}
.care-intro .breadcrumb {
  margin-bottom: 18px;
}
.care-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.care-intro h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.45;
  margin: 10px 0 13px;
}
.care-intro > .container > p {
  max-width: 800px;
  font-size: 19px;
  line-height: 1.9;
  color: #527384;
}
.care-coverage-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  max-width: 920px;
  font-size: 14px;
  line-height: 1.85;
  margin-top: 20px;
  color: #355b70;
}
.care-coverage-note app-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.care-workspace {
  padding-block: 30px 0;
}
.care-city-form {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #dce9ef;
  border-radius: 18px;
}
.care-city-form fieldset {
  display: flex;
  align-items: flex-end;
  gap: 15px;
}
.care-city-field {
  flex: 1;
  min-width: 0;
}
.care-city-field label {
  display: block;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.care-city-field input,
.care-name-search {
  width: 100%;
  border: 1px solid #cbdde6;
  border-radius: 10px;
  background: #fbfdfe;
  padding: 13px 15px;
  font: inherit;
  color: #16364a;
  min-height: 48px;
}
.care-city-field input::placeholder,
.care-name-search::placeholder {
  color: #6e8592;
  opacity: 1;
}
.care-city-form small {
  display: block;
  font-size: 12px;
  color: #526e7d;
  margin-top: 12px;
  line-height: 1.8;
}
.care-city-form .button {
  min-height: 51px;
}
.care-quick-cities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 24px;
}
.care-quick-cities > span {
  font-size: 13px;
  color: #577788;
  margin-inline-end: 5px;
}
.care-quick-cities button {
  padding: 7px 12px;
  min-height: 44px;
  border: 1px solid #dce8ee;
  background: #f5f9fb;
  color: #315f76;
  border-radius: 20px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.care-quick-cities button:hover:not(:disabled) {
  border-color: #137daf;
  background: #eaf5fa;
}
.care-city-options {
  border: 1px solid #d6e7ef;
  border-radius: 14px;
  padding: 15px;
  margin-bottom: 20px;
  background: #f7fbfd;
}
.care-city-options > strong {
  display: block;
  margin-bottom: 10px;
}
.care-city-options button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 0;
  border-top: 1px solid #deebf2;
  background: transparent;
  color: #245b76;
  font: inherit;
  text-align: start;
  cursor: pointer;
  padding: 14px 4px;
  line-height: 1.8;
}
.care-city-options button app-icon:last-child {
  margin-inline-start: auto;
}
.care-notice {
  padding: 13px 17px;
  background: #fff8e8;
  border: 1px solid #efe1b9;
  border-radius: 10px;
  font-size: 14px;
  color: #665628;
  line-height: 1.9;
  margin: 12px 0;
}
.care-error {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 20px;
  border: 1px solid #eccfc7;
  border-radius: 12px;
  background: #fff6f2;
  color: #7e4134;
  margin-bottom: 18px;
  line-height: 1.9;
}
.care-error p {
  margin: 0;
}
.care-error .clear-button {
  flex-shrink: 0;
}
.care-map-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}
.care-map-toolbar > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.care-map-toolbar strong {
  font-size: 20px;
  line-height: 1.6;
}
.care-map-toolbar span {
  font-size: 13px;
  color: #587786;
  line-height: 1.8;
}
.care-map-page button:disabled {
  opacity: 0.55;
  cursor: default;
}
.care-explorer {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
}
.care-map-column {
  min-width: 0;
  position: sticky;
  top: 18px;
}
.care-map-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid #cbdfe8;
  border-radius: 18px;
  background: #e7f1f5;
}
.care-map-canvas {
  height: 520px;
  direction: ltr;
  font-family: Tajawal, Arial, sans-serif;
  z-index: 0;
  background: #e7f1f5;
}
.care-map-canvas .leaflet-container {
  font: inherit;
}
.care-map-loading {
  position: absolute;
  inset: 0;
  z-index: 450;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #eaf4f8;
  color: #38677e;
  font-size: 19px;
}
.care-map-fetching {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 450;
  background: #fffef4;
  padding: 9px 15px;
  border: 1px solid #e8dfbf;
  border-radius: 20px;
  font-size: 13px;
  box-shadow: 0 3px 12px #153e5510;
}
.care-map-canvas .leaflet-control-attribution {
  direction: ltr;
  font:
    10px/1.7 Arial,
    sans-serif;
  color: #193f52;
  background: #fffffff2;
  max-width: 95%;
}
.care-map-canvas .leaflet-control-attribution a {
  color: #075a80;
}
.care-map-canvas .leaflet-control-zoom a {
  color: #245b72;
  background: #fff;
}
.care-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
  margin: 15px 0 8px;
}
.care-map-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #41687c;
  font-size: 12px;
  line-height: 1.8;
}
.care-map-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2d678b;
  flex-shrink: 0;
}
.care-map-legend .care-key-specialist {
  background: #067e76;
}
.care-map-tip {
  color: #526e7d;
  font-size: 12px;
  line-height: 1.9;
  margin: 0 0 14px;
}
.care-google-link {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 14px;
  color: #215f7f;
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.8;
}
.care-marker-host {
  background: none;
  border: 0;
}
.care-pin {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: #2d678b;
  color: white;
  border: 2px solid white;
  box-shadow: 0 2px 7px #123b5555;
  font:
    700 12px/1 Tajawal,
    Arial,
    sans-serif;
}
.care-pin-specialist {
  background: #067e76;
}
.care-pin {
  text-indent: 0;
}
.care-map-popup {
  font:
    14px/1.8 Tajawal,
    Arial,
    sans-serif;
  color: #16364a;
  min-width: 190px;
}
.care-map-popup strong {
  font-size: 17px;
  display: block;
}
.care-map-popup p {
  margin: 8px 0 !important;
}
.care-map-popup a {
  color: #12658e;
  text-decoration: underline;
}
.care-results-column {
  min-width: 0;
  border: 1px solid #dce8ef;
  border-radius: 18px;
  background: #f8fbfd;
  padding: 20px;
}
.care-results-heading h2 {
  font-size: 23px;
  line-height: 1.5;
  margin-bottom: 6px;
}
.care-results-heading > span {
  display: block;
  font-size: 12px;
  color: #526e7d;
}
.care-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 19px 0 14px;
}
.care-filters button {
  border: 1px solid #ccdee8;
  border-radius: 20px;
  padding: 7px 10px;
  background: white;
  color: #426d83;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  min-height: 44px;
}
.care-filters button[aria-pressed='true'] {
  background: #dceff7;
  border-color: #6ca8c0;
  color: #164e69;
  font-weight: 700;
}
.care-name-search {
  font-size: 13px;
  background: white;
}
.care-result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 620px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  margin-top: 17px;
  padding: 2px;
}
.care-result-list:empty {
  margin-top: 0;
}
.care-result {
  background: white;
  border: 1px solid #dce8ee;
  border-radius: 13px;
  padding: 18px;
}
.care-result-selected {
  border-color: #137daf;
  box-shadow: 0 0 0 2px #d3eaf4;
}
.care-result-top {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
}
.care-result-top > div {
  min-width: 0;
}
.care-result-number {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  background: #e7f1f7;
  color: #2d678b;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}
.care-result-number.is-specialist {
  background: #e0f2ee;
  color: #06726a;
}
.care-place-type {
  color: #6b8491;
  font-size: 11px;
  display: block;
  margin-bottom: 2px;
}
.care-place-name {
  border: 0;
  padding: 0;
  background: none;
  text-align: start;
  font:
    700 18px/1.7 Tajawal,
    Arial,
    sans-serif;
  color: #204b63;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.care-place-name:hover {
  color: #137daf;
  text-decoration: underline;
}
.care-speciality {
  display: inline-block;
  font-size: 11px;
  line-height: 1.8;
  color: #6b5730;
  background: #faf4e7;
  border-radius: 6px;
  padding: 3px 7px;
}
.care-speciality.is-specialist {
  color: #14685f;
  background: #e8f5f1;
}
.care-result > p {
  color: #587486;
  font-size: 13px;
  line-height: 1.8;
  margin: 11px 0 7px;
  overflow-wrap: anywhere;
}
.care-distance {
  display: block;
  font-size: 11px;
  color: #6b8290;
  margin: 9px 0 13px;
  line-height: 1.8;
}
.care-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}
.care-result-actions a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #246c8c;
  overflow-wrap: anywhere;
  min-height: 30px;
}
.care-place-source {
  display: block;
  border-top: 1px solid #edf2f5;
  padding-top: 10px;
  margin-top: 12px;
  color: #6a8290;
  font-size: 10px;
  line-height: 1.8;
  text-decoration: underline;
}
.care-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 14px;
}
.care-empty > app-icon {
  font-size: 32px;
  color: #82b2c6;
  margin-bottom: 13px;
}
.care-empty h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.care-empty p {
  font-size: 14px;
  line-height: 1.9;
  color: #526e7d;
}
.care-loading-text {
  color: #59798c;
  font-size: 14px;
  line-height: 1.9;
  padding: 25px 12px;
}
.care-show-more {
  width: 100%;
  margin-top: 17px;
  font-size: 13px;
}
.care-result-context {
  margin-top: 20px;
  padding: 17px 20px;
  background: #f4f8fa;
  border-radius: 12px;
  color: #577788;
  font-size: 12px;
  line-height: 1.9;
}
.care-result-context small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.care-method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
}
.care-method h2 {
  font-size: 25px;
  line-height: 1.6;
  margin-bottom: 15px;
}
.care-method p,
.care-method li {
  font-size: 14px;
  color: #557587;
  line-height: 2;
}
.care-method ul {
  padding-inline-start: 20px;
  margin-bottom: 18px;
}
.care-method li {
  margin-bottom: 10px;
}
.care-method-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 20px;
}
.care-method-links a {
  color: #256987;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.9;
}
@media (max-width: 1000px) {
  .care-explorer {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 1fr);
    gap: 18px;
  }
  .care-results-column {
    padding: 16px;
  }
  .care-map-canvas {
    height: 490px;
  }
  .care-method {
    gap: 30px;
  }
}
@media (max-width: 800px) {
  .care-explorer {
    grid-template-columns: minmax(0, 1fr);
  }
  .care-map-column {
    position: static;
  }
  .care-map-canvas {
    height: 420px;
  }
  .care-result-list {
    max-height: none;
  }
  .care-method {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .care-map-toolbar {
    align-items: flex-start;
  }
  .care-map-toolbar .button {
    font-size: 13px;
    padding: 12px 15px;
    flex-shrink: 0;
  }
  .care-results-column {
    padding: 20px;
  }
  .care-results-heading h2 {
    font-size: 24px;
  }
}
@media (max-width: 600px) {
  .care-intro {
    padding: 25px 0 30px;
  }
  .care-intro > .container > p {
    font-size: 17px;
  }
  .care-coverage-note {
    font-size: 12px;
  }
  .care-city-form {
    padding: 19px;
  }
  .care-city-form fieldset {
    display: block;
  }
  .care-city-form .button {
    margin-top: 13px;
    width: 100%;
  }
  .care-city-field label {
    font-size: 16px;
  }
  .care-city-field input {
    font-size: 16px;
  }
  .care-quick-cities {
    gap: 7px;
  }
  .care-quick-cities button {
    font-size: 11px;
    padding: 6px 10px;
  }
  .care-map-toolbar {
    display: block;
  }
  .care-map-toolbar .button {
    margin-top: 13px;
    width: 100%;
  }
  .care-map-canvas {
    height: 360px;
  }
  .care-map-legend {
    gap: 8px 13px;
  }
  .care-map-legend span {
    font-size: 10px;
  }
  .care-google-link {
    font-size: 13px;
  }
  .care-error {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .care-results-column {
    padding: 16px;
  }
  .care-method h2 {
    font-size: 23px;
  }
}
@media print {
  .care-map-column,
  .care-city-form,
  .care-quick-cities,
  .care-city-options,
  .care-map-toolbar,
  .care-filters,
  .care-name-search {
    display: none;
  }
  .care-explorer,
  .care-method {
    display: block;
  }
  .care-result-list {
    max-height: none;
    overflow: visible;
  }
  .care-result {
    break-inside: avoid;
  }
  .care-results-column {
    border: 0;
    background: white;
  }
  .care-intro {
    background: white;
  }
  .care-map-page a {
    color: inherit;
  }
  .care-result-actions a::after {
    content: ' (' attr(href) ')';
    font-size: 9pt;
    overflow-wrap: anywhere;
  }
}

.care-pin bdi {
  transform: rotate(45deg);
}
.care-map-popup {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 800px) {
  .care-city-field input,
  .care-name-search {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  /* Keep zoom controls clear of the popup's reading area on narrow maps. */
  .care-map-shell .leaflet-top.leaflet-left {
    top: auto;
    bottom: 0;
  }
  .care-map-shell .leaflet-top.leaflet-left .leaflet-control-zoom {
    margin-top: 0;
    margin-bottom: 10px;
  }
}
