/* custom_login.css */

/* Ensure the body takes the full viewport height */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f8f9fa;
    margin: 0;
}

/* Custom width utility for 60% */
.w-60 {
    width: 60%;
}

/* Center the container and add padding */
.w-400 {
    max-width: 350px;
    width: 100%;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Style the logo image */
.img-fluid {
    max-width: 50%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

/* Form styling */
form {
    width: 100%;
}

/* Input fields with increased specificity */
.w-400 .form-control {
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem; /* Desired font size */
    color: #005607;     /* Desired text color */
    border: 1px solid #ccc; /* Optional: Add a border color */
}

/* Focus state styling */
.w-400 .form-control:focus {
    border-color: #005607;
    box-shadow: 0 0 5px rgba(0, 77, 6, 0.253);
    outline: none;
    font-size: 1rem; /* Ensure font-size on focus */
}

/* Labels */
.form-label {
    font-size: 1.15rem;
    text-align: center;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Submit button */
.btn-primary {
    background-color: #005607;
    border-color: #005607;
    padding: 0.5rem;
    font-size: 1.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #005607;
    border-color: #005607;
}

/* Error message */
.text-danger {
    color: #dc3545;
    margin-top: 0.5rem;
}

/* Adjust form groups */
.form-group {
    margin-bottom: 1rem;
}
