* {
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    margin: 0;
}

body {
    background-color: transparent;
}

#username,
#password,
h3,
#fullname,
#comfirm_password,
#username2,
#password2 {
    width: 100%;
    height: 40px;
    color: #5bb1d8;
    margin: 10px 0 10px 0;
}

h5 {
    margin: 20px;
    color: #a3a2a3;
}

h5:hover {
    color: black;
}

#container1,
#container2 {
    padding: 10px;
    width: min(360px, 100%);
    /*定位對齊*/
    position: relative;
    margin: auto;
}

form {
    position: relative;
    margin-top: -10px; /* 向上移動的距離，可以根據需要調整 */
}

.system_name {
    /*定位對齊*/
    margin-top: 110px;
    text-align: center;
}

.login-text {
    margin-top: 0.5rem;
    font-size: 1.5em; /* 調整 Login 文字的字體大小 */
    color: #8dbad7; /* 設定 Login 文字的顏色 */
}

label {
    margin-bottom: 5px; /* 標籤和輸入框之間的間距 */
    font-weight: bold; /* 使標籤文字加粗 */
    position: relative;
    left: 0px; /* 向右調整位置 */
    color: #8dbad7;
}

#login-form label[for="password"] {
    color: #8dbad7;
    margin-bottom: 5px; /* 標籤和輸入框之間的間距 */
    font-weight: bold; /* 使標籤文字加粗 */
    position: relative;
    left: 10px; /* 向右調整位置 */
}

input[type="checkbox"],
label[for="checkpaper"] {
    position: relative;
    left: 0px; /* 向右移動每個元素 */
}

.line-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0; /* 上下間距 */
}

.custom-line {
    width: 50px;
    justify-content: center;
    flex-grow: 4;
    height: 0.1px; /* 線條高度 */
    background-color: #bcbcbc; /* 線條顏色 */
    margin: 0px; /* 去掉預設的外間距 */
}

.line-text {
    padding: 0 10px; /* 文字與線條的內間距 */
    white-space: nowrap; /* 防止文字換行 */
    font-size: 0.9rem;
    color: #bcbcbc;
}

.forgot-password {
    margin-top: -5px; /* 上方間距 */
    text-align: right; /* 文字右對齊 */
}

.forgot-password a {
    font-size: 0.8rem; /* 縮小文字大小 */
    color: #8dbad7; /* 連結顏色 */
    text-decoration: none; /* 去掉下劃線 */
    display: inline-block; /* 使連結元素可以對齊 */
    margin-right: 0;
}

.forgot-password a:hover {
    text-decoration: underline; /* 滑鼠懸停時顯示下劃線 */
}

/* 連結框框容器 */
.button-container {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center; /* 水平置中 */
    margin-top: 20px; /* 框框與上方元素的間距 */
}

/* 框框樣式 */
.rectangle-box {
    display: inline-block; /* 使框框元素顯示為區塊 */
    width: 100%; /* 框框寬度 */
    height: 40px; /* 框框高度 */
    margin: 10px 0; /* 框框之間的間距 */
    background-color: transparent; /* 框框顏色 */
    color: #bcbcbc; /* 文字顏色 */
    text-align: center; /* 文字置中 */
    line-height: 40px; /* 文字垂直置中 */
    border-radius: 5px; /* 圓角 */
    font-size: 0.8rem; /* 調整文字大小 */
}

/* 滑鼠懸停效果 */
.rectangle-box:hover {
    background-color: #e0e0e0; /* 滑鼠懸停時的顏色 */
}

/* 滑鼠懸停效果 */
.rectangle-box:hover {
    background-color: #e0e0e0; /* 滑鼠懸停時的顏色 */
}

.additional-text {
    font-weight: bold;
    color: #8dbad7;
    font-size: 1rem;
    text-align: center;
    margin-top: 40px;
}

.divider-line {
    width: 100%;
    height: 0.1px;
    background-color: #8dbad7;
    margin: 10px 0;
    border: none;
}

.text-container {
    display: flex; /* 使用 Flexbox */
    justify-content: space-between; /* 使左右元素分開 */
    margin-top: 10px; /* 上方間距 */
    gap: 1px;
}

.left-text, .right-text {
    font-size: 1rem; /* 調整文字大小 */
    color: #8dbad7;; /* 文字顏色 */
    font-weight: bold;
    margin: 0 0px;
    text-decoration: none;
}

.system_name h2 {
    margin: 0; /* 去除上下邊距 */
    font-size: 2em; /* 調整字體大小 */
    color: #646464;
}

.icon-with-text span {
    font-size: 14px;
    color: #5bb1d8;
    position: relative; /* 相對於其原始位置進行調整 */
    top: -30px; /* 向上移動文字 */
    left: 35px; /* 向右移動文字 */
}

.submit {
    color: white;
    background: #5bb1d8;
    width: 100%;
    height: 40px;
    padding: 5px;
    border-radius: 5px;
    border: 0px;
    margin: 10px 0 10px 0;
}

.submit:hover {
    background: #2480a0;
}

#container2 {
    visibility: hidden; /*剛開始消失*/
    height: 350px;
}

#copyright {
    text-align: center;
    color: #a3a2a3;
    margin: -200px 0px 0px 0px;
    font-size: 14px;
}

input {
    padding: 5px;
    border: solid 1px #ccc;
    border-radius: 5px;
}

