body {
    font-family: sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px; /* Slightly larger border radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* More prominent shadow */
    text-align: center;
    width: 90%; /* Occupy most of the screen on smaller devices */
    max-width: 400px; /* Set a maximum width for larger screens */
}

img {
    max-width: 50%; /* Adjust as needed */
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

h1 {
    color: #333; /* Darker heading color */
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px; /* Increased margin */
}

label {
    display: block;
    margin-bottom: 8px; /* Increased margin */
    color: #555; /* Slightly darker label color */
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px; /* Increased padding */
    border: 1px solid #ccc;
    border-radius: 5px; /* Slightly larger border radius */
    box-sizing: border-box;
    font-size: 16px; /* Larger font size */
}

button {
    background-color: #007bff; /* Modern blue color */
    color: white;
    padding: 12px 25px; /* Increased padding */
    border: none;
    border-radius: 5px; /* Slightly larger border radius */
    cursor: pointer;
    font-size: 16px; /* Larger font size */
    transition: background-color 0.3s ease; /* Smooth hover effect */
}

button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.error {
    color: #d9534f; /* Modern red color */
    margin-bottom: 15px;
}



/* Media Queries for Responsiveness */
@media (max-width: 80%) { /* Adjust breakpoint as needed */
    .container {
        padding: 20px; /* Reduced padding on smaller screens */
    }

    input[type="text"],
    input[type="password"],
    button {
        font-size: 14px; /* Slightly smaller font size on smaller screens */
        padding: 10px 20px; /* Adjusted padding */
    }
    img {
        max-width: 80%;
    }
}

@media (max-width: 80%) { /* Adjust breakpoint as needed */
    .container {
        padding: 15px; /* Further reduced padding on very small screens */
    }
        img {
        max-width: 95%;
    }
}