/* 基本版型設定 */
#schedule-calendar {
    max-width: 900px;
    margin: 0 auto;
}

#schedule-form {
    margin-top: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#schedule-form p {
    margin-bottom: 15px;
}

#schedule-form label {
    display: inline-block;
    width: 100px;
}

/* 響應式調整：針對手機版 FullCalendar header 分成兩行 */
@media screen and (max-width: 600px) {
    .fc-toolbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    /* 左側與中間區塊保持同一行 */
    .fc-toolbar-chunk.fc-toolbar-left,
    .fc-toolbar-chunk.fc-toolbar-center {
        flex: 1 1 100%;
        text-align: center;
    }
    /* 右側的檢視按鈕區塊獨佔新的一行 */
    .fc-toolbar-chunk.fc-toolbar-right {
        flex: 1 1 100%;
        text-align: center;
        margin-top: 10px;
    }
    /* 表單調整 */
    #schedule-form label {
        width: auto;
        display: block;
    }
}
