 
 *{
   margin: 0;  
   padding: 0;
   box-sizing: border-box;
 }
 
 /* ye bad me hata dena h website me dale tb */

.login-wrapper {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.login-wrapper:after {
    content: "";
    position: absolute; 
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(49, 82, 232, 0.3) 51.11%, #3152E8 100%);
    z-index: 1;
    left: 0 ;
    top: 0;
    width: 100%;
    height: 100%;

}
.login-container {
    background: #fff;
    padding: 60px 25px;
    border-radius: 10px;
    width: 20%;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    position: relative;
    z-index: 5;
}
.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

.login-container form {
    display: flex;
    flex-direction: column;
}
.login-container .input-group {
    width: 100%;
    position: relative;
    display: block;
}

.toggle-password {
    position: absolute;
    top: 30%;
    transform: translateY(-30%);
    right: 1rem;
}

.login-container input  {
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: "DM Sans";
    font-weight: 400;
    font-size: 15px;
    line-height: normal;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
    border-color: #4CAF50;
    outline: none;
}

.login-container button {
    padding: 12px;
    background-color: #3152E8;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: "DM Sans";
}

.login-container button:hover { 
    background-color: #3152E8;
}

.error {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}
@media (min-width:1200px) and (max-width: 1399px) {
   .login-container { 
    width: 30%; 
}

}
@media (min-width:992px) and (max-width: 1199px) {
   .login-container { 
    width: 35%; 
}

}
@media (min-width:768px) and (max-width: 991px) {
   .login-container { 
    width: 35%; 
}

}
@media ( max-width: 767px) {
   .login-container { 
    width: 50%; 
}

}
@media (max-width: 575px) {
    .login-container {
        padding: 20px;
    }

    .login-container h2 {
        font-size: 22px;
    }
      .login-container { 
    width: 80%; 
}
}
