/* ─────────────────────────────────────────────
   SMC — คลินิกพิเศษเฉพาะทางนอกเวลาราชการ
   ───────────────────────────────────────────── */

/* ── ข้อมูลสรุป 3 การ์ด ── */
.smc-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.smc-info__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--pale-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .2s, box-shadow .2s;
}
.smc-info__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.smc-info__card--fee {
  background: linear-gradient(135deg, #edf5ff 0%, #f0f6ff 100%);
  border-color: rgba(22, 89, 223, .18);
}
.smc-info__card--fee b {
  color: var(--blue);
  font-size: 1.5rem;
}
.smc-info__ic {
  flex: none;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
}
.smc-info__ic svg {
  width: 1.5rem;
  height: 1.5rem;
}
.smc-info__card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.smc-info__card small {
  font-size: .8125rem;
  color: var(--muted);
}
.smc-info__card b {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}
.smc-info__card a {
  color: var(--blue);
  font-weight: 700;
}
.smc-info__card a:hover {
  text-decoration: underline;
}
.smc-info__note {
  font-size: .75rem !important;
  color: var(--muted) !important;
  margin-top: 2px;
}

/* ── ตารางแพทย์ ── */
.smc-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.smc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.smc-table thead {
  background: var(--blue-900);
  color: #fff;
}
.smc-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.smc-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.smc-table tbody tr:last-child td {
  border-bottom: none;
}

/* Day column */
.smc-table__day-col {
  width: 120px;
}
.smc-table__day {
  background: var(--pale);
  text-align: center;
  vertical-align: middle;
  border-right: 3px solid var(--blue);
}
.smc-day {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-900);
}

/* Doctor info */
.smc-table td:nth-child(2) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.smc-num {
  flex: none;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--latin);
  font-size: .8125rem;
  font-weight: 700;
  border-radius: 50%;
  margin-top: 2px;
}
.smc-doctor {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.smc-doctor b {
  font-weight: 600;
  color: var(--ink);
}
.smc-doctor small {
  font-size: .8125rem;
  color: var(--blue);
  font-weight: 500;
}

/* Dates column */
.smc-table__date-col {
  width: 200px;
}
.smc-table__dates {
  white-space: nowrap;
  color: var(--ink-2);
  font-weight: 500;
}

/* Day row stripe */
.smc-day-row {
  border-top: 2px solid var(--border);
}
.smc-table tbody tr:nth-child(odd) {
  background: #fff;
}
.smc-table tbody tr:nth-child(even) {
  background: var(--pale-2);
}

/* ── หมายเหตุ ── */
.smc-note {
  display: flex;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #f0dca0;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 56px;
  font-size: .9375rem;
  color: var(--ink-2);
  line-height: 1.7;
}
.smc-note > svg {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--amber);
  margin-top: 2px;
}
.smc-note p {
  margin: 0;
}
.smc-note p + p {
  margin-top: 4px;
}
.smc-note a {
  color: var(--blue);
}
.smc-note a:hover {
  text-decoration: underline;
}

/* ── section title with icon ── */
.section-title svg {
  vertical-align: -3px;
  margin-right: 6px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .smc-info {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .smc-table th,
  .smc-table td {
    padding: 12px 14px;
    font-size: .875rem;
  }
  .smc-table__day-col { width: 80px; }
  .smc-day { font-size: 1rem; }
  .smc-table__date-col { width: auto; }
  .smc-note {
    padding: 16px;
    font-size: .875rem;
  }
}
