body {
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, rgba(169,236,253,1) 25%, rgb(170, 211, 255) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #263A88;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #263A88;
}

form {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Makes sure elements are stretched to the container's width */
}

input[type="text"],
input[type="password"],
input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}

input[type="submit"] {
    background-color: #263A88;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #48ACF1;
}

.error-message {
    color: red;
    margin-bottom: 20px;
    text-align: center;
}

.register-link {
    text-align: center;
    margin-top: -10px;
    margin-bottom: 20px; 
}

.register-link a {
    color: #263A88;
    text-decoration: none;
    margin-bottom: 20px; 
}

.register-link a:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 480px) {
    .login-container {
        margin: 0 40px;
    }
}