.container {
    padding: 5px 0px 60px;
}

/* 警語 / 簡易網編--------------------- */
.text_area{
    margin: 20px 0;
}

/* 1. 外層 RWD 控制：當螢幕寬度不足以容納表格時，自動開啟橫向滾動 */
.event_info_form .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    /* 在這裡下一圈最外圍的框線 */
    border: 1px solid #c3c3c3; 
    border-radius: 4px;
}

/* 2. 表格基本樣式 */
.event_info_form .event-table {
    width: 100%;
    min-width: 600px;
    /* 限制最小寬度，避免在小螢幕上擠壓變形，進而觸發滾動條 */
    border-collapse: collapse;
    border: none; /* 確保 table 最外層不重複吃 border */
    
    font-size: clamp(1.125rem, 0.992rem + 0.22vw, 1.25rem);
    color: #374151;
}

/* 3. 框線與內距 */
.event_info_form .event-table th,
.event_info_form .event-table td {
    /* border: 1px solid #c3c3c3; */
    border: none; /* 清空原本四周 1px solid #000 */
    border-bottom: 1px solid #c3c3c3; /* 只留下方橫線 */
    border-right: 1px solid #c3c3c3;  /* 只留右側直線 */
    padding: 12px 10px;
    vertical-align: middle;
    box-sizing: border-box;
}

/* 3-2 */
.event_info_form .event-table th:last-child,
.event_info_form .event-table td:last-child {
  border-right: none; /* 最右邊那一欄不需要右框線 */
}

.event_info_form .event-table tbody tr:last-child td {
  border-bottom: none; /* 最後一列不需要底線 */
}

/* 4. 表頭設定 */
.event_info_form .event-table th {
    background-color: #f9f9f9;
    /* 稍微帶點淺灰底色區隔表頭 */
    font-weight: bold;
    text-align: center;
}

/* 5. 欄位寬度與對齊控制 */
.event_info_form .event-table .col-seq {
    width: 10%;
}

.event_info_form .event-table .col-date {
    width: 25%;
}

.event_info_form .event-table .col-title {
    width: 65%;
}

.event_info_form .event-table .text-center {
    text-align: center;
    font-size: clamp(1rem, 0.867rem + 0.22vw, 1.125rem);
}

/* 6. 活動名稱連結樣式 */
.event_info_form .event-table td a {
    color: var(--primary_color);
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    display: inline-block;
    font-size: clamp(1rem, 0.867rem + 0.22vw, 1.125rem);
}

.event_info_form .event-table td a:hover {
    color: var(--thir_color);;
    text-decoration: none;
}

/* 7. 滑過整列時的背景微變色（提升閱讀體驗） */
.event_info_form .event-table tbody tr:hover {
    background-color: #f5f5f5;
}

