@charset "utf-8";

/*
目錄
19  body 
57  login
98  h1-h6
131  p.span
162  a
189  table.tr.th.td
253  select.input.textarea
360  button
490  details
510  summary
534  ul.ol.li
545  @media
612  div
*/

/* body ==============================*/
body {
    background: #eef6ff;
    color: #000;
    font-size: 20px;
    text-align: center;
    margin: 0;
}

/*index*/
body#index {
    background: #d0efff;
}
/*11402webpage*/
body#webpage11402 {
    background: #ffffd9;
}
/*11402website*/
body#website11402 {
    background: #dffbff;
}
/*chihleeeng*/
body#chihleeeng {
    background: #e9ffd6;
}
/*113chihlee*/
body#chihlee113 {
    background: #f6e9ff;
}
/*11302html*/
body#html11302 {
    background: #dcffe7;
}
/*chihleepublic*/
body#chihleepublic {
    background: #ccdeff;
}
/*course*/
body#course {
    background: #fdc89e57;
}
/*license*/
body#license {
    background: #d8fcffd8;
}

/* login ==============================*/
/*登入表單標籤*/
.index-login label.login-label {
    display: block;
    margin-top: 20px;
    font-weight: bold;
    color: #00306e;
}
/*登入表單輸入框*/
.index-login input[type="text"], .index-login input[type="password"] {
    width: 220px;
    padding: 10px;
    border: 1px solid #b7b7b7;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}
/*登入表單*/
.index-login #login-form {
    display: none;
    background-color: #ffffffcc;
    padding: 20px;
    margin: 20px auto;
    width: min(360px, 92vw);
    border-radius: 12px;
}
/*入口網站警告*/
#empty-message {
    display: none;
    margin-top: 24px;
    font-size: 18px;
    color: #555;
}
/*登入錯誤訊息*/
#login-error {
    display: block;
    color: #b80000;
    min-height: 22px;
    font-weight: 600;
    margin: 10px 0;
}

/* h1-h6 ==============================*/
h1 {
    margin: 10px 0;
    font-size: 35px;
}
h2 {
    margin: 20px 0;
}
h3 {
    margin: 15px 0 10px 0;
}

h2.margin20010 {
    margin: 20px 0 10px;
}
/*113chihlee*/
#chihlee113 h2.success {
    background: #00FFFF;
    color: #FF00FF;
}
/*chihlee-public-11401購書-登記三科*/
h4.warn {
    color: red;
    background-color: yellow;
    font-weight: bold;
    margin: 10px auto;
    font-size: 20px;
}

/* p.span ==============================*/
p {
   margin: 10px 0;
}

/*使用者資訊*/
p#user-info {
    margin: 6px 0 14px;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}
p.credit-summary,p.margin0 {
    margin: 0;
}
/*backstage yes文字*/
span.yes {
    color: #15803d;
    font-weight: 700;
}
/*chihlee-public-11401購書-書籍資料*/
span.bl {
    font-size: larger;
    font-weight: bold;
}
span.b {
    font-weight: bold;
    background-color: yellow;
    color: red;
}

/* a ==============================*/
a, a:visited {
    color: #0a4db8;
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin: 5px 0;
}
a:hover {
    color: #FF0000;
    text-decoration: underline;
}


/*backhomepage*/
a.backhomepage {
    display: inline-block;
    background: #2f7a2f;
    margin: 0 6px 20px 6px;
    color: #fff;
    padding: 8px 16px;
    font-size: 16px;
    border-radius: 8px;
}
a.backhomepage:hover {
    background: #246224;
    text-decoration: none;
}
a.noblock {
    display: inline-block;
}
a.home-B {
    font-size: 25px;
    text-decoration: underline;
    font-weight: bold;
    margin: 0px;
    padding: 10px 0;
}
a.b {
    text-decoration: underline;
}

/* table.tr.th.td ==============================*/
table {
    border-collapse: collapse;
    margin: 0 auto;
    background: #fff;
    min-width: min(500px, 96vw);
    border: 3px solid #c8d8f0;
}
thead{
    border: 3px solid #c8d8f0;
}
th {
    background: #dceafe;
}
th, td {
    border: 1px solid #c8d8f0;
    padding: 6px 8px;
    text-align: center;
}

/*course*/
#course_schedule_table,#course_schedule_table thead{
    border: 3px solid #000000;
}
#course_schedule_table th,#course_schedule_table td{
    border: 1px solid #000000;
}
/*chihleeeng*/
.chihleeeng th, .chihleeeng td{
    border: 2px solid #c8d8f0;
}
/*證照點數(含比賽)*/
table[name="證照點數資料"] td,table[name="證照點數資料"] th,table[name="證照點數資料"] tr,table[name="證照點數資料"] a {
    padding: 5px;
    margin: 0;
}
table[name="證照點數資料"] a {
    text-decoration: underline;
}
/*證照點數(含比賽)*/
tr.lp {
    background-color: #f1eef3;
}
/*應修科目表.跨領域學程-粗體紅字*/
td.br {
    color: red;
    font-weight: bold;
}
/*畢業門檻.應修科目表-粗體紫字*/
td.bp {
    color: #7f00ff;
    font-weight: bold;
}
/*應修科目表*/
details.無底下拉式選單 table {
    margin: 10px auto;
    font-size: 18px;
}
/*chihlee-eng-backstage*/
table#log-table {
    margin: 20px auto;
    font-size: 14px;
}
table#log-table th, table#log-table td {
    padding: 5px 8px;
    font-size: 14px;
    color: #000;
}
/*chihlee-public-11401購書-管理員*/
table#book-table th, #book-table td {
    white-space: nowrap;
}
table.dataTable {
    width: 100%;
}
table.dataTable tbody th, table.dataTable tbody td {
    padding: 3px 5px;
}
/*course.license*/
table.font16{
    font-size: 16px;
}
table.font16 th,table.font16 td {
    padding: 2px 4px;
}
table.schedule{
    font-size: 18px;
}
/*loginlog*/
table.font18{
    font-size: 18px;
}

/* select.input.textarea ==============================*/
select, input, textarea {
    border-radius: 5px;
    border: 2px solid #4c40d6;
    text-align: center;
}

/*eng-student-management*/
input#student-management, select#student-management {
    padding: 6px 8px;
    font-size: 16px;
    border: 1px solid #9d00ff;
    text-align: center;
}
div.password-form-container input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 16px;
    border: 1px solid #9d00ff;
    box-sizing: border-box;
}
div.password-form-container input[type="password"]:focus {
    outline: none;
    border-color: #9d00ff;
    box-shadow: 0 0 5px rgba(157, 0, 255, 0.3);
}
/*應修科目表-數字輸入*/
select.other-credit {
    width: 40px;
}
/*chihlee-public-11401購書*/
select#select {
    font-size: 16px;
    padding: 6px 12px;
    border: 1px solid #6699cc;
    box-shadow: 0 2px 6px #ddeeff;
    background: #f8fbff;
    color: #003366;
    margin: 0 0 5px 0;
    outline: none;
    transition: border-color 0.2s;
    text-align-last:center;
}
select#select:focus {
    border-color: #3366cc;
}
/*chihlee-public-11401購書後台*/
select#course-filter {
    font-size: 16px;
    padding: 6px 12px;
    border: 1px solid #6699cc;
    box-shadow: 0 2px 6px #ddeeff;
    background: #f8fbff;
    color: #003366;
    margin: 10px 0 5px 0;
    outline: none;
    transition: border-color 0.2s;
    text-align-last:center;
}
select#course-filter:focus {
    border-color: #3366cc;
}
/*chihlee-public-11401購書-登記三科*/
form.book11401{
    background: #c0fffa;
    padding: 20px;
    width: 300px;
    margin: auto;
    box-shadow: 0 4px 10px #00000033;
}
/*chihlee-public-11401購書-登記三科*/
.book11401 input:not(#agree){
    width: 93%;
    padding: 10px;
    margin: 8px 0 16px;
    border: 1px solid #ccc;
    font-size: 16px;
}
.book11401 input[type=number]::-webkit-outer-spin-button,.book11401 input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.book11401 input[type="submit"] {
    background: rgb(181, 255, 71);
    border: none;
    font-weight: bold;
    cursor: pointer;
    padding: 12px;
    transition: 0.3s;
}
.book11401 input[type="submit"]:hover{
    background: #0040ff;
    color: #ffffff;
}
/*chihlee-eng*/
select.select-eng, select.student-management  {
    padding: 5px;
    font-size: 16px;
    text-align: center;
}
/*chihlee-eng*/
input.select-eng, input.student-management {
    padding: 5px;
    font-size: 16px;
    text-align: center;
}
/*course.license*/
body#course input,body#course textarea,body#course select,body#license input,body#license textarea,body#license select {
    font-size: 16px;
    height: 25px;
}
body#course .label,body#license .label {
    display: block;
    font-size: 16px;
    height: 25px;
}

/* button ==============================*/
button{
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #1463d1;
    color: #fff;
    font-weight: bold;
}

button#logout-btn, button#login-submit {
    margin: 0 6px 20px 6px;
}
button#logout-btn:hover, button#login-submit:hover {
    background: #0f4fa8;
}
#index button#login-submit {
    margin: 20px 0 0;
}
#index button#google-login-submit {
    margin: 20px 0;
}
/*eng-score*/
button#score {
    background: #9d00ff;
    margin: 0 5px;
}
button#score:hover {
    background: #9d00ff;
}
/*eng-student-management*/
button#student-management {
    background: #9d00ff;
    margin: 0 5px;
}
button#student-management:hover {
    background: #7a00cc;
}
/*eng-download-score*/
button#download-score {
    padding: 10px 20px;
    background: #9d00ff;
    margin: 5px;
    display: inline-block;
}
button#download-score:hover {
    background: #7d00cc;
}
/*eng-upload-score*/
button#save-result-btn, button.upload-btn {
    padding: 10px 20px;
    background: #9d00ff;
    margin-right: 10px;
}
button#save-result-btn:hover, button.upload-btn:hover {
    background: #7d00cc;
}
button.upload-btn {
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
}
button#save-result-btn {
    margin-top: 10px;
    display: none;
}
/*eng-student-management*/
button.student-management {
    background: #9d00ff;
    margin: 0 5px;
}
button.student-management:hover {
    background: #9d00ff;
}
button.delete-btn {
    background: #ff3333;
}
button.delete-btn:hover {
    background: #cc0000;
}
/*eng-update-password*/
button#back-to-audit {
    margin-top: 15px;
    padding: 10px 30px;
    background: #9d00ff;
}
button#back-to-audit:hover {
    background: #7a00cc;
}
form#password-form button {
    padding: 10px 30px;
    margin-top: 10px;
    background: #9d00ff;
    width: 100%;
    box-sizing: border-box;
}
form#password-form button:hover {
    background: #7a00cc;
}
/*chihlee-public-11401購書*/
button#search-num-btn,button#search-num-btn:hover {
    background: #3264fa;
    color: #ffffff;
    padding: 5px 10px;
    margin: 0;
    font-size: 20px;
}
/*chihlee-public-11401購書-查詢*/
button#search,button#search:hover {
    background: #3264fa;
    color: #ffffff;
    padding: 15px 30px;
    margin: 20px 0;
    font-size: 20px;
}
/*eng-button-edit*/
button.eng-button-edit{
    padding: 5px 10px;
}
/*course.license*/
body#course button.edit,body#license button.edit{
    padding: 4px 6px;
    font-size: 14px;
}

/* details ==============================*/
details {
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    background-color: #fbf7e8;
    margin: 10px auto;
    width: 75%;
}

details.證照點數資料 {
    margin: initial;
    width: initial;
}

/* summary ==============================*/
summary {
    font-weight: bold;
    cursor: pointer;
    outline: none;
    color: #0000FF;
    text-decoration: underline;
    margin: 10px 0;
}

summary:hover {
    color: #FF0000;
}
summary.證照點數資料 {
    font-weight: normal;
    color: #8800ff;
    list-style: none;
}
summary.證照點數資料::-webkit-details-marker {
    display: none;
}
summary.證照點數資料:hover {
    color: #FF0000;
}

/* ul.ol.li==============================*/
/*證照點數(含比賽).校外實習.選課流程-符號清單*/
ol, ul {
    display: inline-block;
    text-align: left;
}
/*證照點數(含比賽).選課流程-外邊界*/
ol#證照點數清單,ol#選課流程{
    margin: 0px;
}

/* @media ==============================*/
/*eng-score*/
@media (max-width: 768px) {
    details {
        width: 96vw;
        padding: 5px;
    }
    table#data-table {
        font-size: 14px;
    }
    #data-table th, #data-table tr, #data-table td {
        padding: 3px 4px;
    }
    .table-wrapper-score {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*校外實習.應修科目表*/
    div.widthmax,div.editor-area,div#course-list {
        width: 100%;
        max-width: 100vw;
        overflow-x: auto;
        display: block;
    }
    /*chihlee-eng-backstage*/
    table#log-table th, table#log-table td {
        padding: 4px 6px;
    }
    /*eng-download-score*/
    div.download-section {
        margin: 20px auto;
        max-width: 100%;
        border: 2px solid #9d00ff;
        padding: 15px;
        border-radius: 10px;
    }
    div.download-section button {
        padding: 10px 15px;
        font-size: 14px;
        margin: 5px 0;
        width: calc(100% - 10px);
        box-sizing: border-box;
    }
    /*eng-update-password*/
    div.password-form-container {
        margin: 15px 10px;
        padding: 20px;
        max-width: calc(100% - 20px);
    }
    div.password-form-container input[type="password"] {
        font-size: 16px;
        padding: 10px;
    }
    div.password-form-container button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* div ==============================*/
/*course.license*/
div.overflowx {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}
/*eng-student-management*/
div.selector-area {
    margin: 10px 0 15px 0;
    text-align: center;
}
div.selector-group {
    margin: 10px 0;
    display: inline-flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
div.add-form {
    margin: 20px auto;
    padding: 15px;
    max-width: 500px;
    border: 2px solid #9d00ff;
    border-radius: 10px;
    background: #f9f9f9;
}
div.add-form-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}
div.add-form-group div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
div.add-form-group label {
    font-weight: bold;
    color: #000;
    font-size: 14px;
}
div.table-container {
    margin: 20px auto;
    overflow-x: auto;
}
/*eng-download-score*/
div.download-section {
    margin: 20px auto;
    max-width: 600px;
    border: 2px solid #9d00ff;
    padding: 20px;
    border-radius: 10px;
}
/*eng-upload-score*/
div.upload-section {
    margin: 20px auto;
    max-width: 600px;
    text-align: left;
    border: 2px solid #9d00ff;
    padding: 20px;
    border-radius: 10px;
}
div.form-group {
    margin-bottom: 15px;
}
div.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}
div.form-group select,
div.form-group input[type="file"] {
    width: 100%;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #9d00ff;
    border-radius: 5px;
    box-sizing: border-box;
}
div#result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
    white-space: pre-wrap;
    text-align: left;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #9d00ff;
}
div#result.success,
div#result.error {
    display: block;
}
div#result.uploading {
    background: #fff3cd;
    color: #856404;
    display: block;
}
/*eng-update-password*/
div.password-form-container {
    margin: 20px auto;
    max-width: 400px;
    padding: 30px;
    border: 2px solid #9d00ff;
    border-radius: 10px;
    background: #f9f9f9;
}
/*chihlee-eng-backstage*/
div.log-controls {
    margin: 20px 0;
    padding: 15px;
    border: 2px solid #9d00ff;
    border-radius: 10px;
    background: #f9f9ff;
}
div.log-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/*chihlee-public-11401購書-登記三科*/
div#Adiv {
    color: #9400D3;
}
div#Bdiv {
    color: #FF4500;
}
div#Cdiv {
    color: #FF00FF;
}