/* HSAAS Modern Contacts Style */

#departments {
  padding: 0 1rem 6rem;
  max-width: 700px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
}

.doctor-card h2 {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(99, 102, 241, 0.03);
}

.doctor-card h2 .arrow {
  transition: var(--transition);
}

.doctor-card h2:not(.collapsed) .arrow {
  transform: rotate(180deg);
}

.contacts-grid {
  padding: 0.5rem 0;
}

.doctor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.doctor-row:last-child {
  border-bottom: none;
}

.doctor-info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.doctor-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}