/* PetCure Booking - Custom Calendar and Time Slots */

/* Calendar Container */
.pc-calendar {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  padding: 18px 16px 20px;
}

/* Header */
.pc-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.pc-month-title {
  font-weight: 700;
  font-size: 18px;
  color: #1f2937;
}
.pc-nav {
  background: transparent;
  border: 0;
  color: #6b7280;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  transition: background .2s ease, color .2s ease;
}
.pc-nav:hover {
  background: #f3f4f6;
  color: #111827;
}

/* Weekdays row */
.pc-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 6px 2px 8px;
  border-bottom: 1px dashed #e5e7eb;
  margin-bottom: 10px;
}
.pc-weekday {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  color: #6b7280;
}
.pc-weekend { color: #ef4444; }

/* Days grid - lay as a single compact grid (wraps into weeks automatically) */
.pc-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.pc-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #111827;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all .15s ease;
}
.pc-day:hover { border-color: #93c5fd; box-shadow: 0 1px 0 rgba(59,130,246,0.15) inset; }
.pc-day.pc-out { color: #c0c4cc; background: #fafafa; }
.pc-day.pc-today { border-color: var(--primary-color); }
.pc-day.pc-selected { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.pc-day[disabled] { opacity: .5; pointer-events: none; }

/* Time list */
.tl-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.tl-slot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  padding: 10px 14px;
  border-radius: 999px; /* pill */
  font-weight: 600;
  font-size: 14px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
  animation: tlFade .25s ease both;
}
.tl-slot:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,0.07); }
.tl-slot.active { background: #0ea5e9; color: #fff; border-color: #0ea5e9; }

/* States */
.tl-available { border-color: #a7f3d0; background: #ecfdf5; color: #065f46; }
.tl-available:hover { border-color: #6ee7b7; }
.tl-wait { border-color: #fde68a; background: #fffbeb; color: #92400e; }
.tl-wait:hover { border-color: #fcd34d; }
.tl-full { border-color: #fecaca; background: #fff1f2; color: #991b1b; opacity: .75; cursor: not-allowed; }

/* Badge for capacity */
.tl-badge {
  background: rgba(0,0,0,0.08);
  color: inherit;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

/* Legend */
.tl-legend { display: flex; gap: 14px; align-items: center; margin-top: 10px; color: #6b7280; font-size: 13px; }
.lg-item { display: inline-flex; align-items: center; gap: 6px; }
.lg-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg-av { background: #10b981; }
.lg-wt { background: #f59e0b; }
.lg-fl { background: #ef4444; }

/* No times */
.no-times .no-times-icon { font-size: 36px; }

@keyframes tlFade { from{opacity:0; transform: translateY(2px)} to{opacity:1; transform: translateY(0)} }
