body {
    background-color: #F8F8F8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    margin-bottom: 16px;
    width: 100%;
    max-width: 191px;
    height: 60px;
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #EAEAEA;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    width: 471px;
    height: 373px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.login-container label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
    width: 343px;
    height: 54px;
    padding: 16px;
    border: 1px solid #949495;
    border-radius: 6px;
    background: #fff
}

/* Add margin between input fields */
.login-container input[type="text"],
.login-container input[type="password"] {
    margin-bottom: 20px;
}

/* Adjustments for autofill */
.login-container input[type="text"]:-webkit-autofill,
.login-container input[type="password"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    transition: background-color 5000s ease-in-out 0s; 
    -webkit-text-fill-color: #69696B;
}

.login-container button {
    background-color: #00AAAA;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 343px;
    height: 55px;
    font-size: 16px;
}

.login-container button:hover {
    background-color: #00AAAA;
}

.login-container .username,
.login-container .password,
.login-container .login-button,
.form-control {
    font-family: "Hiragino Sans";
    font-size: 15px;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 155%; 
    letter-spacing: 1.05px;
}

.footer {
    color: #7E7E80;
    font-feature-settings: 'palt' on;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; 
    letter-spacing: 0.24px;
    text-align: center;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    background-color: #F8F8F8;
}

.form-control:focus {
    border-radius: 6px;
    border: 2px solid #3991F9 !important;
    background: #fff;
}

.form-control {
    caret-color: #3991F9;
}

.form-control.error {
    border: 2px solid #F24430 !important;
    transition: border-color 0.3s ease;
}

.error-message {
    color: #F24430;
    font-feature-settings: 'palt' on;
    font-family: "Hiragino Sans";
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; 
    letter-spacing: 0.84px;
    position: absolute;
    bottom: -40px;
    left: 13px;
}

.form-group {
    position: relative;
}

.error-space-username {
    height: 12px;
}

.error-space-password {
    height: 18px;
}