
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}
.card-header {
    background-color: #01224D;
    color: #ffffff ;
}

#calendar {
    max-width: 1000px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}

/* ปุ่ม FullCalendar */
.fc .fc-button {
    background-color: #01224D;
    border: none;
    color: #ffffff;
}
.fc .fc-button:hover {
    background-color: #012e68;
    color: #01224D;
}
.fc .fc-button:disabled {
    background-color: #B2B2B2;
    color: #ffffff;
}

/* Title ของเดือน/ปี */
.fc .fc-toolbar-title {
    color: #01224D;
    font-weight: bold;
}

/* วันธรรมดา */
.fc-daygrid-day {
    background-color: #ffffff;
}

/* เสาร์อาทิตย์ */
.fc-day-sat, .fc-day-sun {
    background-color: #f8f8f8;
}

/* วันหยุด */
.fc-event {
    border: none;
    background-color: #ff0000 !important;
    color: #01224D !important;
    border-radius: 8px;
    padding: 2px 4px;
    font-size: 0.85rem;
}
/* อีเว้น */
.fc-event-yellow {
    background-color: #FFBA44 !important;
    color: #01224D !important;
}
.fc-event-blue {
    background-color: #6CBAFB !important;
    color: #01224D !important;
}


/* ตัวเลขวันที่ */
.fc-daygrid-day-number {
    color: #01224D !important;
    font-weight: bold;
    text-decoration: none !important;
}

/* ชื่อวัน (Sun, Mon … หรือ จ, อ … ในภาษาไทย) */
.fc-col-header-cell-cushion {
    color: #01224D !important;
    font-weight: bold;
    text-decoration: none !important;
}

/* ========== LIST VIEW (ตารางรายการ) ========== */

/* เปลี่ยนสีวัน+วันที่ (แถวหัว list day) */
.fc .fc-list-day-cushion,
.fc .fc-list-day-cushion a {
    color: #01224D !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

/* เวลา hover บนแถว event → ตัวอักษรเปลี่ยนเป็น #01224D */
.fc .fc-list-event:hover td,
.fc .fc-list-event:hover .fc-list-event-title a {
    color: #01224D !important;
    font-weight: bold;
    text-decoration: none !important;
    background-color: #ffffff !important;
}
