.pttr-map-layout {
  margin: 20px 0;
}

.pttr-main-title {
  margin: 0 0 18px;
  text-align: center;
}

.pttr-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(340px, 1fr);
  gap: 18px;
  align-items: start;
}

.pttr-left-column {
  min-width: 0;
}

.pttr-map {
  width: 100%;
  border: 12px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
  background: #fff;
  display: block;
}

.pttr-map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.pttr-map-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pttr-markers-layer {
  position: absolute;
  inset: 0;
}

.pttr-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #c81d25;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  padding: 0;
}

.pttr-map-city-label {
  position: absolute;
  transform: translate(-50%, -150%);
  border: 1px solid #d2d2d2;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: #1b1b1b;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 6px;
  cursor: pointer;
}

.pttr-map-city-label--below {
  transform: translate(-50%, 20%);
}

.pttr-map-error {
  height: 100%;
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #8a1f1f;
  background: #fff4f4;
  font-weight: 600;
}

.pttr-show-all {
  display: block;
  width: 100%;
  margin: 16px 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 10px;
  background: #004b9a;
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.pttr-show-all:hover,
.pttr-show-all:focus {
  background: #003870;
}

.pttr-panel {
  padding: 18px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  font-size: 16px;
  line-height: 1.45;
}

.pttr-details {
  margin-top: 14px;
}

.pttr-panel h3 {
  margin: 0 0 8px;
  color: #111;
  font-size: 22px;
}

.pttr-panel p {
  margin: 0;
  line-height: 1.45;
}

.pttr-therapist-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.pttr-therapist-card {
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: #f8f8f8;
  overflow: hidden;
}

.pttr-therapist-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 12px;
  cursor: pointer;
}

.pttr-therapist-item:hover,
.pttr-therapist-item:focus {
  background: #eef5ff;
}

.pttr-therapist-item[aria-expanded='true'] {
  background: #e6f0ff;
}

.pttr-therapist-name {
  display: block;
  font-weight: 700;
  color: #121212;
  margin-bottom: 4px;
}

.pttr-therapist-contact {
  display: block;
  color: #3c3c3c;
  font-size: 14px;
}

.pttr-therapist-details {
  border-top: 1px solid #d8d8d8;
  padding: 12px;
  background: #fff;
  display: grid;
  gap: 10px;
}

.pttr-therapist-details[hidden] {
  display: none !important;
}

.pttr-details-grid {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.pttr-details-row h4 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  color: #0f2f4d;
}

.pttr-details-row p {
  margin: 0;
  white-space: normal;
}

.pttr-details-main {
  font-size: 18px;
  font-weight: 600;
}

.pttr-details-row ul {
  margin: 0;
  padding-left: 18px;
}

.pttr-details-row li {
  margin-bottom: 5px;
}

#pttr-city-panel {
  max-height: 960px;
  overflow: auto;
}

.pttr-note {
  margin-top: 10px;
  font-size: 14px;
  color: #3a3a3a;
}

.pttr-city-icon span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c81d25;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
  .pttr-main-grid {
    grid-template-columns: 1fr;
  }

  .pttr-show-all {
    font-size: 22px;
    padding: 16px;
  }

  #pttr-city-panel {
    max-height: none;
    overflow: visible;
  }
}
