body {
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #e4e4e4c8;
}


.login-box {
    position: relative;
    width: 400px;
    margin: 15px auto;
    height: 550px;
    background-color: red;
    border: 1px solid #000000;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    backdrop-filter: blur(5px);
}

.formhead2 {
    /* color: #fff; */
    font-size: 2rem;
    text-align: center;
}

.input-box {
    position: relative;
    width: 310px;
    margin: 30px 0;
    border-bottom: 2px solid #000000;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    /* color: #fff; */
    font-size: 16px;
    transition: all 0.5s ease;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #000000;
    padding: 0 35px 0 5px;
}

.input-box input:-webkit-autofill,
.input-box input:-webkit-autofill:hover,
.input-box input:-webkit-autofill:focus,
.input-box input:-webkit-autofill:active {
    /* background-color: var(--form_bg_color) !important; */
    background-color: transparent !important;
    color: #000000 !important;
    -webkit-text-fill-color: unset !important;
    box-shadow: 0 0 0 30px #cbcbcb00 inset !important;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 20px;
    color: rgb(0, 0, 0);
    line-height: 57px;
}

.remember-forgot {
    color: #000000;
    display: flex;
    justify-content: space-between;
}

.remember-forgot label,
.remember-forgot a {
    margin: 10px 0 15px 0;
}

.remember-forgot label input {
    margin-right: 3px;
}

.remember-forgot a {
    color: #000000;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.Sign {
    width: 100%;
    height: 40px;
    color: #ffffff;
    background-color: #000000;
    border-radius: 20px;
    outline: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #000000;
    transition: all 0.3s ease;
}

.Sign:hover {
    background-color: transparent;
    color: #000000;
}

.link {
    margin-top: 20px;
    color: #000000;
    text-align: center;
}

.link p a {
    text-decoration: none;
    color: #000000;
    font-weight: 600;
}

.link p a:hover {
    text-decoration: underline;
}

.is-invalid {
    color: rgb(231, 72, 72) !important;
}

.alert-success {
    background-color: #fff;
    color: green;
    padding: 5px;
    font-weight: bold;
    margin: 5px;
}

.heightFit {
    height: fit-content;
    padding: auto 10px;
}

/* start  mobile */
@media (max-width: 375px) {
    .login-box {
        width: 300px;
        height: 650px;
    }

    .input-box {
        position: relative;
        width: 275px;
        margin: 30px 0;
        border-bottom: 2px solid #000000;
    }
}

@media (min-width: 375px) and (max-width: 576px) {
    .login-box {
        width: calc(100% - 20px);
        height: 650px;
    }

    .input-box {
        position: relative;
        width: 275px;
        margin: 30px 0;
        border-bottom: 2px solid #000000;
    }
}

/* end  mobile */
/* //////////////////////////////////////////////////// */
@media screen and (max-width: 374px) {
    .input-box input {
        width: calc(100% - 20px);
    }
}