/* Reset some basic elements */
body,
h2,
p {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Arial, sans-serif;
    /* Use Roboto as the primary font */
}

/* Body background styling */
body {
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    /* Prevent scrolling */
}

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

/* Login box styling */
.login-box {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-width: 380px;
    /* Set a maximum width */
    box-sizing: border-box;
    text-align: center;
}

/* Adjusting for smaller screens */
@media (max-width: 400px) {
    .login-box {
        padding: 1.5rem;
        min-width: 330px;
    }
}

/* Title styling */
.login-box h2 {
    margin-bottom: 2rem;
    font-size: 24px;
    color: #333;
}

/* Input group styling */
.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #555;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Button styling */
.button-group {
    margin-top: 1.5rem;
}

.button-group button {
    width: 100%;
    padding: 0.75rem;
    background-color: #012f84;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-group button:hover {
    background-color: #004eb3;
}

/* Flash messages styling */
.flash-messages {
    margin-top: 1rem;
    color: #e74c3c;
    font-size: 14px;
}