body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #F2F2F7;
    margin: 0;
    padding: 0;
}

/* wrapper 設置：讓內容集中 */
#wrapper_full {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
/* 收合按鈕樣式 */
#menu-toggle {
    background-color: #01579b;
    color: white;
    padding: 3px 5px 15px 5px;
    text-align: center;
    cursor: pointer;
    width: 50px;
    height: 30px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 2em;
}
#menu-toggle-active{
	background-color: #01579b;
    color: white;
    padding: 3px 5px 15px 5px;
    text-align: center;
    cursor: pointer;
    width: 50px;
    height: 30px;
    position: sticky;
    top: 20px;
    z-index: 1000;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-size: 2em;
}
/* 展開狀態 */
/* 側邊選單 */
#menu {
    font-family: inherit;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 15px;
    width: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-right: 20px;
    position: sticky;
    top: 20px;
    transition: width 0.3s ease-in-out;
    display: none;
}

/* 收合狀態 */
#menu.collapsed {
    width: 250px;
    padding: 10px;
    overflow: hidden;
    transition: width 0.3s ease-in-out;
    display: block;
}

#menu.collapsed ul > li {
    text-align: center;
    margin-bottom: 15px;
}

#menu.collapsed ul > li img {
    margin: 0;
}

#menu.collapsed ul > li > ol {
    display: none;
}

#menu.collapsed ul > li {
    white-space: nowrap;
}



#menu ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#menu > ul > li {
    position: relative;
    padding: 12px;
    margin-bottom: 8px;
    background-color: #FFF;
    border-radius: 8px;
    transition: background-color 0.3s;
    cursor: pointer;
}

#menu > ul > li:hover {
    background-color: #e0e0e0;
}

#menu ul li img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 8px;
    filter: brightness(0) saturate(100%) invert(73%) sepia(61%) saturate(15%) hue-rotate(315deg) brightness(97%) contrast(79%);
}

#menu ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

#menu ul li a:hover {
    color: #007aff; /* Apple藍 */
}

#menu ol {
    list-style-type: none;
    padding: 8px 0;
    margin: 0;
    display: none;
}

#menu ul > li:hover ol {
    display: block;
    padding-left: 24px;
}

#menu ol li {
    padding: 6px 0;
    font-size: 0.9em;
    color: #666;
}

/* contentblock 的佈局和陰影效果 */
#contentblock-full {
    flex: 1;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-x: auto;
}

/* 表格樣式 */
#listtable {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

#listtable thead tr {
    background-color: #F8F8F8;
    color: #333;
    text-align: left;
}

#listtable thead td {
    font-weight: 600;
    padding: 12px 15px;
    border-bottom: 2px solid #E0E0E0;
}

#listtable tbody tr {
    transition: background-color 0.3s ease;
}

#listtable tbody tr:hover {
    background-color: #F0F0F5;
}

#listtable td {
    padding: 12px 15px;
    border-bottom: 1px solid #E0E0E0;
    color: #444;
}

/* 按鈕設計 */
button {
    background-color: #f57c00;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #005BB5;
}

button:active {
    background-color: #004085;
}
button.filter-btn{
	background-color: #CCCCCC;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 5px 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 3px 5px;
}
input#search-input{
	width: auto;
    padding: 8px;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 16px;
    color: #1d1d1f;
    background-color: #f5f5f5;
    margin: 10px 5px 10px 5px;
    float: right;
}
h2{
	width: auto;
	margin:  0px auto 1% 5px;
}
header a{
	background-image: url(images/logo.png);
	height: 70px;
	width: 120px;
	display: block;
	background-repeat: no-repeat;
	background-size: contain;%;
	margin: 2% 0% 0 10%;
	text-indent: -999em;
}



/* 小螢幕適應 */
@media (max-width: 768px) {
    #listtable td, #listtable thead td {
        font-size: 14px;
        padding: 10px;
    }
    button {
        padding: 5px 10px;
        font-size: 13px;
    }
    
    #menu {
        width: 50%;
        margin-bottom: 20px;
        margin-right: 20px;
        position: sticky;
    }
    #menu.collapsed {
    	width: 100%;
    }
}