*{
    box-sizing:border-box;
    font-family: "Microsoft JhengHei",Verdana,sans-serif;
    /* border: 0.5px solid #DC1D1D; */
}

:root{
    --logo--color:#0C90BB;
    --main-color: #0D1321;
    --secondary-color:#3A4D5E;
    --backgroud-color: #F5F5F5;
    --before-active-color: #999999;
    --bar-color: #FFFF;
    --delete-btn-color:#DC1D1D;
    --text-color:#111a2a;
    --checkbox-border-color: #F2AB26;
}

/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
/* ＊＊＊＊＊ wrapper ＊＊＊＊＊ */
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
body{
    font-size: 14px;
    font-family:serif;
    font-style: normal;
    table-layout: fixed;
    background-color: #F5F5F5;
}

a{
    text-decoration:none;
}

/* 網頁捲軸-寬度 */

  
  /* 網頁捲軸-背景-顏色 */
  .content::-webkit-scrollbar {
    display: block;
    background: var(--backgroud-color);
    height: 8px;
    width: 6px;
  }
  
  /* 網頁捲軸-把手-顏色 */
  ::-webkit-scrollbar-thumb {
    background: var(--before-active-color);
    border-radius: 4px;
    width: 4px;
  }
  
  /* 網頁捲軸-hover-把手的顏色 */
  ::-webkit-scrollbar-thumb:hover {
    background: var(--logo--color);
  }

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 100%;
    height: 100vh;
}

.header ,.main-content , .footer {
    display: flex;
    align-items: center;
    width: 100%;
}

/* ------------------------ */
/* --------hearder-------- */
/* ---------------------- */
.header {
    height: 60px;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px;
    background-color: var(--bar-color);
}

.logo-container img{
    height: 40px;    
}

/* ------------------------ */
/* -----main-content------ */
/* ---------------------- */
.main-content {
    flex-direction: column;
    justify-items: center;
    padding: 24px;
    height: calc(100vh - 140px);
}

.login-card {
    flex-direction: column;
    justify-items: center;
    width: 480px;
    height: 100%;
    background-color: var(--bar-color);
    border-radius: 20px;
    padding: 18px 24px;
}

.title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

h1 {
    margin-bottom: 10px;
    font-size: 24px;
}

.content {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: auto;
}

.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

}

/* ------------------------ */
/* --------footer -------- */
/* ---------------------- */
.footer {
    flex-direction: row;
    justify-content: center;
    height: 80px;
    background-color: var(--bar-color);
    padding: 8px 14px;
    position: absolute;
    bottom: 0px;
}

.footer-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.footer-logo-container img {
    height: 30px; 
}

p {
    margin-top: 4px;
    margin-bottom: 0px;
    font-size: 4px;
}

@media screen and (max-width: 767px) {
    .main-content {
        padding: 0px;
    }

    .login-card {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 0px;
    }
}



/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
/* ＊＊＊＊  Component ＊＊＊＊ */
/* ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */
.login {
    width: 300px;
    position: relative;
    margin-top: 30px;
}

.login input {
    outline: none;
    border: none;
    width: 100%;
    padding: 10px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--before-active-color);
    background: none;
}

.login label {
    position: absolute;
    top: 11px;
    left: 7px;
    color: var(--logo--color);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.5s;
}

.login input:focus+label ,.login input:valid+label {
    font-size: 14px;
    top: -8px;
    background-color: #ffff;
    color: var(--main-color);
}

.login input:focus {
    border: 1px solid var(--logo--color);
    border-radius: 8px;
}


.login input:focus+label ,.login input:valid+label {
    font-size: 14px;
    top: -10px;
    padding: 0px 4px;
    background-color: #ffff;
    color: var(--main-color);
}

.login input+:focus {
    border: 1px solid red;
    border-radius: 8px;
}

.button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sub-button {
    font-size: 14px;
    width: 300px;
    height: 46px;
    border: none;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: var(--backgroud-color);
    color: #ffff;
    transition: all 1.5s;
}

.sub-button:not(:disabled) {
    background-color: var(--main-color);
    color: #ffff;
}


.button a:nth-child(n+2) {
    font-size: 14px;
    border-bottom: 1px solid var(--before-active-color);
    margin-bottom: 8px;
    color: var(--before-active-color);
}

.button a:nth-child(n+2):hover {
    border-bottom: 1px solid var(--logo--color);
    color: var(--logo--color);
}


#checkEye_1 , #checkEye_2 {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

  