/* General body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #726f6f;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    flex-direction: column; /* Ensure it works on smaller screens */
}

/* Container styling for the login form */
.container {
    background-color: #495057;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    margin: 20px; /* Add some space on all sides */
}

/* Styling for the form header */
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: bold;
}

/* Form group styling */
.form-group {
    margin-bottom: 20px;
}

/* Label styling */
label {
    font-size: 16px;
    color: #555;
    font-weight: bold;
}

/* Input field styling */
input[type="email"], input[type="password"] {
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s;
}

/* Input field focus state */
input[type="email"]:focus, input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

/* Button styling */
button[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Button hover state */
button[type="submit"]:hover .btn:hover {
    background-color: #0056b3;
    transform: scale(1.03);
  }

/* Alert box styling */
.alert {
    padding: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}

/* Specific alert styling */
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive design */
@media (max-width: 576px) {
    body {
        justify-content: flex-start; /* Make sure form is still centered vertically */
        padding-top: 50px; /* Add some padding to the top */
    }

    .container {
        padding: 20px;
    }

    h2 {
        font-size: 22px;
    }

    input[type="email"], input[type="password"], button[type="submit"] {
        font-size: 14px;
        padding: 8px;
    }
}

