* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: url('/static/images/Background.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-image {
    margin-bottom: 20px;
    width: 12rem;
}


.login-container {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    width: 460px;
    height: auto;
    max-width: 90vw;
    text-align: center;
}

.login-container>p {
    margin-bottom: 20px;
}

.color-diaries {
    font-weight: 600;
}

h2 {
    color: #2955AF;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    color: #333;
}

.input-group input {
    width: 100%;
    padding: 7px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    border-color: black;
    outline: none;
    box-shadow: #444;

}

button {
    width: 100%;
    padding: 8px;
    background-color: #2955af;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #2955af;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.footer-login {
    font-size: 14px;
    color: #333;
    margin-bottom: 20px;
}

.footer-login>p {
    margin-bottom: 10px;
}

.footer-login a {
    color: #2955af;
    text-decoration: none;
}

.required {
    color: red;
}

.errorlist {
    color: red; 
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 5px; 

}

.errorlist li {
    list-style-type: none; 
}