/* calendar.css — 溪洲行事曆樣式表 */

body {
  background: #fff;
  font-family: "Segoe UI", "Noto Sans TC", sans-serif;
  padding: 1rem;
}

.month-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.month-label {
  font-weight: bold;
  font-size: 1.2rem;
  color: #cc5500;
}

.btn-outline-primary {
  color: #cc5500;
  border-color: #cc5500;
}

.btn-outline-primary:hover {
  background-color: #cc5500;
  color: #fff;
  border-color: #cc5500;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #dee2e6;
}

thead {
  background: #0d6efd;
  color: #fff;
}

th,
td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #dee2e6;
  vertical-align: top;
}

tr:hover td {
  background: #f1f7ff;
}

.date-cell {
  width: 25%;
  white-space: nowrap;
  color: #555;
}

.date-cell.today {
  background: #fff3cd;
  font-weight: bold;
  color: #cc5500;
}

.time-text {
  color: #0aa;
  font-weight: bold;
  margin-right: 0.5rem;
}

.event-summary {
  color: #555;
}

.today-event {
  color: #000;
  font-weight: bold;
}

.holiday-event {
  color: #8B0000;
  font-weight: bold;
}

.event-desc {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.3rem;
}

/* 手機版 RWD */
@media (max-width: 768px) {
  thead th:nth-child(3),
  tbody td:nth-child(3) {
    display: none;
  }
  .event-desc {
    display: block;
  }
}
