.main-body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f2f5; /* Added a light background for the body for better contrast */
}

/* Center box */
.main-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

/* Login box */
.main-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Title */
.main-title {
    margin-bottom: 25px;
    color: #003366;
    font-size: 24px;
}

/* Form inside */
.main-form .form-group {
    margin-bottom: 20px; /* Slightly increased for better spacing */
    text-align: left;
}

.main-form .form-group label { /* Added styling for labels */
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

/* Inputs */
.main-form input[type="email"],
.main-form input[type="password"] {
    width: 100%;
    padding: 12px; /* Slightly increased padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding and border don't increase the width */
    font-size: 16px; /* Consistent font size */
}

.main-form input[type="email"]:focus,
.main-form input[type="password"]:focus { /* Added focus style */
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.2);
}


/* Submit button */
.main-button {
    width: 100%;
    padding: 12px; /* Matched input padding */
    background-color: #003366;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

.main-button:hover {
    background-color: #002244;
}

/* Error message styling (assuming you have a class for it) */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-top: 20px;
    text-align: left;
}

/* Small text for password requirements */
.main-form .form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
}