.branches-page .clinic-table td:last-child {
  white-space: nowrap;
}

.branches-page .card-grid {
  align-items: stretch;
}

/* Branch dashboard */

.branch-dashboard-page {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.branch-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.branch-stat-time {
  font-size: 22px !important;
}

.branch-section {
  padding: 20px 24px;
}

.branch-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Staff list */

.branch-staff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.branch-staff-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--kivo-border);
}

.branch-staff-item:last-child {
  border-bottom: none;
}

.branch-staff-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--kivo-primary-soft);
  color: var(--kivo-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.branch-staff-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.branch-staff-info strong {
  font-size: 13.5px;
  color: var(--kivo-dark);
}

.branch-staff-info span {
  font-size: 12px;
  color: var(--kivo-light);
}

/* Services list */

.branch-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 12px;
}

.branch-service-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--kivo-border);
}

.branch-service-item:last-child {
  border-bottom: none;
}

.branch-service-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.branch-service-info strong {
  font-size: 13.5px;
  color: var(--kivo-dark);
}

.branch-service-info span {
  font-size: 12px;
  color: var(--kivo-light);
}

@media (max-width: 900px) {
  .branch-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .branch-two-col {
    grid-template-columns: 1fr;
  }
}
