.page_container {
    max-width: 1100px;
    padding: 50px 60px;
    margin: auto;
    min-height: 100vh;
    background-color: #fff;
    z-index: 1;
    position: relative;
    border-radius: 50px;
    margin-top: -350px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, .08); */
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.page_container {
    background-image: url(../images/bg_page_container_2.webp);
    background-position: 50% 50%;
    background-size: cover;
    background-color: rgb(255 255 255 / 20%); 
    background-blend-mode: lighten; /* soft-light */
}


.page_content {
    position: relative;
    z-index: 1;
}

.page_title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    color: #444;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.page_title::before,
.page_title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #ff7b44;
}

/* .page_title, */
.content_title {
    border-bottom: 5px solid #FF6123;
    padding-bottom: 10px;
    width: fit-content;
    border-radius: 3px;
    font-size: 1.7rem;
    margin: 0 auto 60px;
    letter-spacing: 2px;
}

.page_card {
    background-color: #ffe1d5;
    border-radius: 8px;
    font-size: .9rem;
}

.page_card .uk-card-title {
    font-size: 1.05rem;
    font-weight: 500;
}

.page_card .uk-table td {
    padding: 8px 6px;
}

.page .kv_area {
    position: relative;
}

.page .kv_area::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 70%, white 100%);
    pointer-events: none;
}

 /* 基本卡片樣式 */
.card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.2);
    border-color: #e67e22;
}


/* 自定義 Tab 樣式 */
    .custom-tabs {
        display: flex;
        background: #ffffff;
        border-radius: 12px 12px 3px 3px;
        padding: 8px;
        box-shadow: 0 1px 20px rgb(0 0 0 / 3%);
        margin-bottom: 20px;
        margin-top: 40px;
    }

    .custom-tabs .tab-item {
        flex: 1;
        padding: 12px 24px;
        text-decoration: none;
        color: #666;
        border-radius: 8px 8px 2px 2px;
        transition: all 0.3s ease;
        text-align: center;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .custom-tabs .tab-item:hover {
        /* background: rgba(102, 126, 234, 0.1); */
        background: rgba(251, 159, 126, 0.1);
        color: #667eea;
        transform: translateY(-2px);
    }

    .custom-tabs .tab-item.active {
        /* background: linear-gradient(45deg, #667eea, #556edc); */
        background: linear-gradient(45deg, #ff7b44, #f8976e);
        color: #fff;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

  /* 搜尋欄整體容器 */
#page_search {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e0e4e7;
    margin-bottom: 24px !important;
}

#page_search .uk-input,
#page_search .button,
#page_search .btn_search_all {
     border-radius: 6px !important;
    font-size: 14px !important;
    height: 50px;
    line-height: 50px;
}

form .uk-input,
form .uk-select, 
form .uk-textarea {
    background-color: #fff !important;
    font-size: .75rem !important;
    height: 50px;
    line-height: 50px;
}
form .uk-select {
    height: 50px!important;
    line-height: 50px!important;

}
form .btn_show_pwd {
    display: block;
}


/* 輸入框樣式 */
#page_search .uk-input {
   border: 1px solid #d1d9e0;
    background: #f8f9fa;
    height: 100%;
}

#page_search .uk-input:focus {
    border-color: #4a90d9;
    background: #ffffff;
    outline: none;
}

#page_search .uk-input::placeholder {
    color: #6c757d;
}

/* 搜尋按鈕樣式 */
#page_search .button {
    background: #184489;
    border: none;
   
    color: white;
    font-weight: 500;
  
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

#page_search .button:hover {
    background: #3d7bc1;
    color: white;
}

/* 搜尋圖示 */
#page_search .button icon {
    font-size: 18px;
}



    /* Grid 間距調整 */
    #page_search.uk-grid > * {
        padding-left: 0;
    }

    #page_search .uk-grid-small > * {
        padding-left: 8px;
    }

    #page_search .uk-grid-small {
        margin-left: -8px;
    }

    
    

    .uk-pagination .page-item {
        display: flex;
        align-items: center;
    }
    .uk-pagination .active {
        background-color: #dedede;
        color: #fff;
        border-radius: 10px;
    }

    .btn-download {
        padding: 8px 16px;
        border-radius: 20px;
        color: #fff;
        background-color: #3a3a3a;
        display: flex;
        white-space: nowrap;
        width: fit-content;
        margin-top: 20px;
    }
    .btn-download:hover {
        background-color: #676767;
    }

    /* 表格外框 */
    .list-table-data table {
        width: 100%;
        border-collapse: collapse;
        margin: 15px 0;
        font-size: 15px;
        text-align: left;
        background-color: #fff;
        border-radius: 6px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        margin-bottom: 30px!important;
        font-size: .9rem;
    }

 /* 表頭樣式 */
    .list-table-data table thead {
        background: #ff7b44;
        border-bottom: 2px solid #ffdb1b;
    }

    .list-table-data table th {
        padding: 20px;
        font-weight: bold;
        color: #fff;
        white-space: nowrap;
    }

    /* 表格內容列 */
    .list-table-data table td {
        padding: 20px;
        border-bottom: 1px solid #eee;
        color: #555;
    }

    /* 偶數列背景 */
    .list-table-data table tr:nth-child(even) td {
        background-color: #fafafa;
    }

    /* 滑鼠懸停列效果 */
    .list-table-data table tr:hover td {
        background-color: #f0f8ff;
    }

    /* 學分欄位特別標示 */
    .list-table-data table td .font_red {
        color: #e53935;
        font-weight: bold;
    }

    /* 活動名稱標示 */
    .list-table-data table td .font_orange {
        color: #ff7b44;
    }

    /* 表頭最後一欄靠右 */
    /* .list-table-data table th:last-child {
        text-align: end;
    }

    /* 內容列最後一欄靠右 */
    /* .list-table-data table td:last-child {
        text-align: end;
    } */ 

/* 響應式設計 */
@media (max-width: 768px) {
    #page_search {
        padding: 12px;
    }
    
    #page_search .uk-input {
        padding: 10px 14px;
        margin-bottom: 10px;
    }
    
    #page_search .button {
        padding: 10px 16px;
        width: 100%;
        justify-content: center;
        min-height: 40px;
    }
    
    #page_search .uk-width-expand {
        width: 100% !important;
        margin-top: 10px;
    }
}

@media (max-width: 1200px) {}

@media (max-width: 960px) {
    .page .kv_area {
        z-index: 3;
    }
    .page_container {
        margin-top: 0;
        padding: 20px;
    }

    .page_card {
        font-size: .8rem;
        padding: 15px;
    }

    .page_title {
        /* border-bottom: 3px solid #FF6123; */
        padding-bottom: 5px;
        font-size: 1.2rem;
    }
  
    .custom-tabs {
        display: block;
    }

    .custom-tabs {
        font-size: .8rem;
    }
    .custom-tabs .tab-item {
        flex: 1;
        justify-content: left;
        padding: 6px 24px;
        margin-top: 20px;
    }
 

    
}
