* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background-color: #fff5d6;
    color: #742107;
}

.img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #fff5d6;
    background-image: url('img/bg1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.container {
    width: 100vw;
    height: 100vh;
    display: grid;
	justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

form {
    width: 400px;
    background-color: rgba(255, 246, 209, 0.7);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 10px 4px 10px rgba(0, 0, 0, 0.1);
}

.login-content img {
    height: 100px;
}

.login-content h2 {
    margin: 15px 0;
    color: #742107;
    text-transform: uppercase;
    font-size: 2.9rem;
}

.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #e7b616;
}

.input-div.one {
    margin-top: 0;
}

.i {
    color: #742107;
    display: flex;
    justify-content: center;
    align-items: center;
}

.i i {
    transition: .3s;
}

.input-div > div {
    position: relative;
    height: 45px;
}

.input-div > div > h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #742107;
    font-size: 18px;
    transition: .3s;
}

.input-div:before, .input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #e7b616;
    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: 15px;
}

.input-div.focus > .i > i {
    color:  #742107;
}

.input-div > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #742107;
    font-family: 'Poppins', sans-serif;
}

.input-div.pass {
    margin-bottom: 4px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #742107;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #e7b616;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #742107;
    font-size: 0.9rem;
    transition: .3s;
}

a:hover {
    color: #e7b616;
}

.btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #e7b616, #742107, #e7b616);
    background-size: 200%;
    font-size: 1.2rem;
    color: #fff5d6;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: background-position 0.5s ease-in-out;
}

.btn:hover {
    background-position: right;
}

@media screen and (max-width: 1050px) {
    .container {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    form {
        width: 290px;
    }

    .login-content h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }

    .img img {
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }

    .img {
        display: none;
    }

    .login-content {
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    .btn {
        font-size: 1rem;
        height: 45px;
    }

    .login-content h2 {
        font-size: 2rem;
    }

    .input-div > div > input {
        font-size: 1rem;
    }
}
input:-webkit-autofill {
    background-color: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
    -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
    -webkit-text-fill-color: #742107 !important;
}

#forgotPasswordModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: rgba(255, 246, 209, 10); /* Match container background */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 10px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}

#forgotPasswordModal img {
    height: 100px;
    margin-bottom: 15px;
}

#forgotPasswordModal h2 {
    margin: 15px 0;
    color: #742107;
    text-transform: uppercase;
    font-size: 2.4rem;
}

#forgotPasswordModal p {
    margin-bottom: 20px;
    color: #742107;
    font-size: 1rem;
}

#forgotPasswordModal .btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, #e7b616, #742107, #e7b616);
    background-size: 200%;
    font-size: 1.2rem;
    color: #fff5d6;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: background-position 0.5s ease-in-out;
}

#forgotPasswordModal .btn:hover {
    background-position: right;
}

#forgotPasswordModal h2 {
    margin-bottom: 10px;
    color: #742107;
}

#forgotPasswordModal p {
    margin-bottom: 20px;
    color: #742107;
}

#forgotPasswordModal .btn {
    margin-top: 10px;
}

/* Reuse existing styles for input-div */
.input-div.email {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #e7b616;
}

.input-div.email .i {
    color: #742107;
    display: flex;
    justify-content: center;
    align-items: center;
}

.input-div.email .i i {
    transition: .3s;
}

.input-div.email > div {
    position: relative;
    height: 45px;
}

.input-div.email > div > h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #742107;
    font-size: 18px;
    transition: .3s;
}

.input-div.email:before, .input-div.email:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #e7b616;
    transition: .4s;
}

.input-div.email:before {
    right: 50%;
}

.input-div.email:after {
    left: 50%;
}

.input-div.email.focus:before, .input-div.email.focus:after {
    width: 50%;
}

.input-div.email.focus > div > h5 {
    top: -5px;
    font-size: 15px;
}

.input-div.email.focus > .i > i {
    color:  #742107;
}

.input-div.email > div > input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #742107;
    font-family: 'Poppins', sans-serif;
}

.blur {
    filter: blur(3px); /* Apply a blur effect */
    pointer-events: none; /* Disable interactions with blurred elements */
    transition: filter 0.3s ease; /* Smooth transition for the blur effect */
}