/* css/style.css */

/* 核心容器控制 */
.main-wrapper {
    max-width: 576px;
    /* 嚴格限制寬度 */
    margin: 0 auto;
    /* 桌機板置中 */
    background-color: #ffffff;
    min-height: 100vh;
    /* 確保背景填滿高度 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    /* 增加側邊陰影，讓桌機板更有質感 */
}

body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}


/* 限制最大寬度以維持手機感 */
.container-fluid {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* 輪播圖設定 */
#section-visual .carousel-item img {
    height: 70vh;
    /* 高度佔據螢幕 70%，維持視覺張力 */
    object-fit: cover;
}

#section-visual .carousel-caption {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 10px;
}

/* Tab 樣式優化 */
#section-tabs .nav-pills .nav-link.active {
    background-color: #333;
}

#section-tabs .nav-link {
    color: #cdcdcd;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

/* 表單手風琴樣式 */
#section-registration .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #000;
}

#section-registration .form-label {
    font-weight: bold;
    font-size: 0.9rem;
}

/* 動態日期區塊微調 */
.date-sub-group {
    font-size: 0.85rem;
    border-left: 3px solid #333;
}

.red {
    color: #940303;
}
