/* Public appointment hub — /randevu */

.apt-page {
  --apt-accent: #0ea5e9;
  --apt-border: rgba(226, 232, 240, 0.95);
}

.apt-hero {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  border-bottom: 1px solid var(--apt-border);
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
}

.apt-hero-inner {
  max-width: 720px;
}

.apt-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #0f172a;
}

.apt-hero p {
  margin: 0 0 1rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.apt-main {
  padding-top: 1.5rem;
}

.apt-filter-card {
  background: #fff;
  border: 1px solid var(--apt-border);
  border-radius: 16px;
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.04);
  margin-bottom: 1.5rem;
}

.apt-filter-card .therapist-filter-bar {
  margin: 0;
}

.apt-filter-card .appointment-type-toggle {
  margin-bottom: 0.85rem;
}

.apt-results-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.apt-results-head h2 {
  margin: 0;
  font-size: 1.15rem;
}

.apt-therapist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.apt-therapist-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--apt-border);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.apt-therapist-card:hover {
  transform: translateY(-2px);
  border-color: #bae6fd;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
}

.apt-therapist-title {
  margin: 0;
  color: #64748b;
  font-size: 0.85rem;
}

.apt-therapist-city {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
}

.apt-ico .ph-ico {
  width: 14px;
  height: 14px;
}

.apt-therapist-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-top: 0.25rem;
}

.apt-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.72rem;
  color: #475569;
}

.apt-mode .ph-ico {
  width: 12px;
  height: 12px;
}

.apt-card-cta {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--apt-accent);
}

.apt-booking .appointment-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

@media (max-width: 1024px) {
  .apt-therapist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apt-booking .appointment-layout {
    grid-template-columns: 1fr;
  }
}

.appointment-type-ico {
  display: inline-flex;
  align-items: center;
}

.appointment-type-ico .ph-ico {
  width: 14px;
  height: 14px;
}

@media (max-width: 768px) {
  .apt-therapist-grid {
    grid-template-columns: 1fr;
  }

  .apt-results-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .apt-filter-card {
    padding: 0.85rem;
  }
}
