body, html {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #121212;
    color: #ffffff;
    font-family: sans-serif;
    font-size: 18px;
}

.settings {
    display: none;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 128px;
    height: auto;
}

.title {
    margin-top: 20px;
    font-size: 24px;
    color: #ffffff;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    font-size: 18px;
}

#logout-form {
    width: 276px;
}

#password, #username {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
    font-size: 18px;
    width: 256px;
}

input[type="submit"] {
    display: none;
}

button {
    margin-top: 12px;
    margin-bottom: 5px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #006fcd;
    color: #fff;
    font-size: 18px;
    width: 100%;
    cursor: pointer;
}

button:hover {
    background-color: #005bb5;
}

button:active {
    background-color: #004499;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 0;
    margin-left: 0px;
    width: 100%;
    justify-content: flex-start;
    padding-left: 0px;
    font-size: 16px;
}

.remember-me input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #006fcd;
    border-radius: 3px;
    margin-right: 10px;
    margin-left: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
}

.remember-me input:checked::before {
    content: "✔";
    position: absolute;
    top: -16px;
    left: -1px;
    font-size: 1.8em;
    color: #ffffff;
}

#error-bar {
    color: #ff0000;
    background-color: #1e1e1e;
    position: fixed;
    top: -40px;
    left: 0;
    width: 100%;
    height: 20px;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: top 0.5s ease-in-out;
}

.powered-by {
    margin-top: 20px;
    font-size: 0.7em;
    text-align: center;
}

.powered-by a {
    color: #C4C4C4;
    text-decoration: none;
}

.powered-by a:hover {
    text-decoration: underline;
}

.totp-label {
    margin-top: 2px;
    margin-bottom: 5px;
    font-size: 18px;
    text-align: center;
}

.totp-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.totp-input {
    width: 35px;
    height: 40px;
    text-align: center;
    font-size: 22px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    color: #fff;
}

.totp-timer {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    width: 100%;
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
}

.totp-progress {
    height: 100%;
    background-color: #006fcd;
    width: 0;
    transition: width 0.2s linear;
}
