body {
    padding: 20px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(168, 240, 217);
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: rgb(121, 192, 244); /* Added background color for better visibility */
    border-radius: 8px; /* Rounded corners */
}

.tablecontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: rgb(168, 212, 244); /* Added background color for better visibility */
    border-radius: 8px; /* Rounded corners */
}

.logincontainer {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: rgb(121, 192, 244); /* Added background color for better visibility */
    border-radius: 8px; /* Rounded corners */
}

.passwordcontainer {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: rgb(121, 192, 244); /* Added background color for better visibility */
    border-radius: 8px; /* Rounded corners */
}

.loginbox {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.upbuttonbox {
    text-align: center;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 30px;
}

.password-container {
    position: relative;
    width: 100%;
}

.password-container input {
    width: 100%;
    padding-right: 40px;
}

.password-container i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Styling for the Logout button */
.btn-warning {
    margin-right: 10px;
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-warning:hover {
    background-color: #e0a800;
    border-color: #d39e00;
}

/* Styling for the Login button */
.btn-primary {
    margin-right: 10px;
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.loginbox p {
    display: inline-block;
    margin-right: 10px;
}

.nav-link {
    display: inline-block;
    margin: 0px 10px 10px 10px;
    font-size: 20px;
}

/* 以下的設定可以更改間隔一行的顏色 */
.table-striped>tbody>tr:nth-child(odd)>td, 
.table-striped>tbody>tr:nth-child(odd)>th {
   background-color: rgb(90, 220, 232);
}
