/* Search results — MioDottore-style list + map */

.sr-page {
  font-family: Outfit, sans-serif;
}

.sr-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.sr-card:hover {
  border-color: #6bb1e2;
  box-shadow: 0 4px 16px -4px rgba(107, 177, 226, 0.2);
}

.sr-card.is-active {
  border-color: #6bb1e2;
  box-shadow: 0 0 0 2px rgba(107, 177, 226, 0.35);
}

.sr-card-photo {
  width: 88px;
  height: 88px;
  border-radius: 0.75rem;
  object-fit: cover;
  background: #e8f4fc;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .sr-card-photo {
    width: 104px;
    height: 104px;
  }
}

.sr-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sr-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.sr-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #131b2e;
  line-height: 1.25;
  margin: 0;
}

.sr-card-name a {
  color: inherit;
  text-decoration: none;
}

.sr-card-name a:hover {
  color: #6bb1e2;
}

.sr-card-studio {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6bb1e2;
  margin: 0.15rem 0 0;
}

.sr-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.5rem;
  border-radius: 0.375rem;
  background: #e8f4fc;
  color: #1a5f86;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sr-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #131b2e;
}

.sr-rating .material-symbols-outlined {
  font-size: 16px;
  color: #ee6f55;
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20;
}

.sr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  color: #64748b;
}

.sr-meta .material-symbols-outlined {
  font-size: 16px;
  vertical-align: middle;
}

.sr-slot {
  font-size: 0.8125rem;
  color: #40484e;
  display: none;
}

.sr-slot.is-visible {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.sr-slot .material-symbols-outlined {
  font-size: 16px;
  color: #6bb1e2;
}

.sr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.sr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.sr-btn-primary {
  background: #ee6f55;
  color: #fff !important;
}

.sr-btn-primary:hover {
  background: #d65f46;
}

.sr-btn-secondary {
  background: #fff;
  color: #6bb1e2 !important;
  border: 1px solid #6bb1e2;
}

.sr-btn-secondary:hover {
  background: #e8f4fc;
}

/* Map panels */
.sr-map-panel {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #e5e7eb;
}

.sr-map-panel--desktop {
  display: none;
  height: 100%;
  min-height: 400px;
}

.sr-map-panel--mobile {
  display: block;
  margin-bottom: 1.25rem;
}

@media (min-width: 1024px) {
  .sr-map-panel--mobile {
    display: none;
  }

  .sr-map-panel--desktop {
    display: block;
  }
}

.sr-map-canvas {
  width: 100%;
  height: 100%;
}

.sr-search-area-btn {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #fff;
  color: #1e293b;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  cursor: pointer;
}

.sr-search-area-btn:hover {
  background: #f8fafc;
}

.sr-list-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .sr-list-scroll {
    gap: 0.875rem;
  }
}
