*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif; /* Set font to Arial */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f2f2f2; /* Optional background color for the entire page */
}

.title {
    color: #91ce43;
}

.container {
    width: 100%;
    max-width: 350px; /* Reduced the maximum width from 400px to 350px */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Add shadow for better focus */
    background-color: #f7f7f7; /* Light background color */
    border-radius: 10px; /* Rounded corners */
}

.login-content {
    text-align: center;
}

.login-content img {
    height: 120px; /* Set the image height to 120px */
    width: 120px; /* Set the image width to 120px */
}

.login-content h2 {
    margin: 15px 0;
    color: #0e3293;
    text-transform: capitalize;
    font-size: 2rem; /* Reduced font size */
    font-family: 'Arial', sans-serif; /* Set font to Arial */
}

.login-content .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 15% 85%; /* Adjusted for larger icon */
    margin: 20px 0; /* Reduced margin */
    padding: 5px 0;
    border-bottom: 2px solid #d9d9d9;
}

.login-content .input-div.one {
    margin-top: 0;
}

.i {
    color: #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    font-size: 18px; /* Smaller icon size */
    color: #999; /* Icon color */
}

#togglePassword {
    font-size: 18px; /* Smaller icon size */
    position: absolute;
    right: 10px; /* Position to the right inside the input */
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999; /* Icon color */
}


.input-div > div {
    position: relative;
    height: 40px; /* Reduced height */
}

.input-div > div > h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px; /* Reduced font size */
    transition: .3s;
    font-family: 'Arial', sans-serif; /* Set font to Arial */
}

.input-div:before, .input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #91ce43; /* Updated color */
    transition: .4s;
}

.input-div:before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before, .input-div.focus:after {
    width: 50%;
}

.input-div.focus > div > h5 {
    top: -5px;
    font-size: 12px; /* Further reduce font size on focus */
    font-family: 'Arial', sans-serif; /* Set font to Arial */
}

.input-div.focus > .i > i {
    color: #91ce43; /* Updated color */
}

.input-div > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.4rem 0.6rem; /* Slightly reduced padding */
    font-size: 0.9rem; /* Reduced font size */
    color: #555;
    font-family: 'Arial', sans-serif; /* Set font to Arial */
}

.input-div.pass {
    margin-bottom: 4px;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    transition: .3s;
    font-family: 'Arial', sans-serif; /* Set font to Arial */
}

a:hover {
    color: #91ce43; /* Updated color */
}

.btn {
    display: block;
    width: 100%;
    height: 40px; /* Reduced height */
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #91ce43, #91ce43, #91ce43); /* Updated color */
    background-size: 200%;
    font-size: 0.9rem; /* Reduced font size */
    color: #fff;
    font-family: 'Arial', sans-serif; /* Set font to Arial */
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
}

.btn:hover {
    background-image: linear-gradient(to right, #0e3293, #0e3293, #0e3293); /* Updated color */
    color: #fff;
}

@media screen and (max-width: 1050px) {
    .container {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    form {
        width: 270px; /* Reduced the form width for smaller screens */
    }

    .login-content h2 {
        font-size: 1.7rem; /* Adjusted further for smaller screens */
        margin: 8px 0;
        font-family: 'Arial', sans-serif; /* Set font to Arial */
    }

    .img img {
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .img {
        display: none;
    }

    .wave {
        display: none;
    }

    .login-content {
        justify-content: center;
    }
}
