* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body {
    font-family: Arial, sans-serif;
    background: url("/static/registration/img/background.119d7d6e40ae.png") no-repeat center center fixed;
    background-size: cover;
    background-color:rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.login-box {
    background:#183747;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    width: 30%;
    text-align: center;
    color: white;
}

.login-box .logo img {
    width: 200px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 20px;
    font-size: 1.5em;
}

p {
    margin-bottom: 20px;
    color: #ffffff;
}

a {
    color: #00a1ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.form {
    display: flex;
    width: 90%; /* Set the form to be slightly smaller than the login box */
    margin: 0 auto;
} 

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 5px;
}

/* Input field styling */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #218838;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #183747;
}

.forgot-password {
    display: block;
    margin-top: 15px;
    font-size: 0.9em;
    color: white;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

footer {
    margin-top: 40px;
    text-align: center;
    color: #888;
    font-size: 12px;
}

ul {
    list-style: none;
}

/* Form errors styling */
.errorlist{
    color: #ff0000;
    margin-bottom: 20px;
    font-size: 13px;
}
