* {
    box-sizing: border-box;
    margin: 0;
}

.container {
    max-width: 100%;
    padding: 0;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    position: relative;
}

.container>div {
    height: 100%;
    width: 50%;
    padding: 0;
}

.left-side-container {
  
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 50%;
    z-index: 999;
    transition: .5s ease;
    background-size: cover;
}

.left-side-container>img {
    width: 70%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 20%;
    background-color: #FBF7F7;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 50%;
}

.logo img {
    width: 100%;
}

.logo-container h3 {
    color: var(--border);
    font-size: 20px;
    font-family: EstedadMedium;
    margin-top: 3px;
}

.right-side-container {
    display: flex;
    justify-content: center;
    background-color: var(--bg);
}

.form {
    width: 60%;
}

.text-container h2 {
    font-family: EstedadMedium;
    color: var(--section-title-text);
}

.text-container p {
    font-family: EstedadLight;
    color: var(--normal-text);
}



.form-group {
    position: relative;
    margin-bottom: 20px;
    margin: 0;
    padding: 0;
}

.input-form-c {
    width: 100%;
    padding: 10px;
    border: unset;
    border-radius: 6px;
    background-color: var(--fields);
    direction: rtl;
    color: var(--normal-text);
}

.label {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-65%);
    pointer-events: none;
    color: var(--text-fields);
    transition: 0.2s ease-out;
    background-color: var(--fields);
    padding: 0 10px;
    font-size: .8rem;
    font-family: EstedadLight;
}

.input-form-c:focus+.label {
    top: 0;
    font-size: 12px;
    background-color: var(--bg);
}

.lable-active {
    top: 0;
    font-size: 12px;
    background-color: var(--bg);
    color: var(--text-hover);
}

.input-form-c:focus {
    box-shadow: none;
    outline: none;
    background-color: var(--bg);

}

.form-control {
    background-color: var(--fields);
}

.input-group {
    border: 1px solid var(--border);
    border-radius: 6px;
}

.input-group>img {
    border: unset;
    border-radius: 6px;
}

.input-group>div {
    border: unset;
    border-radius: 6px;
}

.path {
    background-color: var(--fields);
}

.checkbox {
    direction: rtl;
    display: flex;
    justify-content: start;
    color: var(--text-fields);
    accent-color: var(--text-hover);
    align-items: center;
}

.checkbox input,
.checkbox label {
    cursor: pointer;
    transition: .3s;
    font-family: EstedadLight;
}

#checkbox:checked~label {
    color: var(--text-hover);
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 12px 0;
    padding-inline: 0;
    width: 100%;
    border-radius: 11px;
    line-height: 19px;
    border: unset;
    color: #fff;
    background-color: var(--button);
    position: relative;
    transition: .6s;
    overflow: hidden;
}

.btn {

    transition: 0.25s;

    &:hover,
    &:focus {
        border-color: var(--button);
        color: #fff;
    }
}

.image:hover,
.image:focus {
    box-shadow: 0 0.5em 0.5em -0.4em var(--text-hover);
    transform: translateY(-0.25em);
}
@keyframes pulse {
    0% { box-shadow: 1 1 1 1 var(--text-hover); }
}

.button img {
    width: 100%;
    position: absolute;
    top: 3%;
    transform: scale(0);
    transition: .6s;
    opacity: 0;
}

.button p {
    padding: 0;
    margin: 0;
    font-family: EstedadSemiBold;
}

.button:hover .button-bg {
    transform: scale(1);
    opacity: 1;
}

.button:hover {
    background-color:var(--button);
}


.forget-password-container {
    display: flex;
    justify-content: space-between;
    font-size: .7rem;
    color: var(--section-title-text);
    font-family: EstedadLight;
}

.forget-password-container p {
    cursor: pointer;
    transition: .5s;
}

.forget-password p:hover {
    color: var(--text-hover);
}

.phone-number-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.otc-timer {
    color: var(--normal-text);
    font-size: .8rem;
}

#otcIcon {
    position: absolute;
    width: 28%;
    top: 0;
    left: 11%;
}

.bottom-icon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 7%;
    z-index: 112;
    padding: 0;
}

#backToLoginPage {
    position: absolute;
    left: 2%;
    top: 25px;
    width: fit-content;
    cursor: pointer;
    z-index: 112;
}

#forgetPasswordContainer,
#otcContainer {
    transition: opacity .5s;
}


.elementToFadeIn {
    opacity: 1;
    animation: fade .5s linear;
}


@keyframes fade {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}


/* #loginContainer{
    transition: .5s;
} */
@media screen and (min-width: 1px) and (max-width: 770px) {
    .left-side-container {
        display: none;
    }

    #otcContainer {
        display: none;
    }

    #forgetPasswordContainer {
        display: none;
    }

    .right-side-container {
        width: 100% !important;
    }

    #loginContainer {
        display: flex;
    }

    .button {
        line-height: 26px;
    }
}
.link{
    margin-left: 20rem;text-decoration: none;color: var(--section-title-text);font-family: EstedadMedium
}
@media screen and (min-width: 770px) {
    #otcContainer {
        display: flex;
    }

}
@media screen and (min-width: 1px) and (max-width: 880px) {
    .link{
       white-space: nowrap; margin-left: 12rem;;text-decoration: none;color: var(--section-title-text);font-family: EstedadMedium
    }
}
@media screen and (min-width: 1px) and (max-width: 600px) {
    .form {
        width: 85%;
    }

}

@media screen and (min-width: 1px) and (max-width: 320px) {
    .logo {
        padding: 11px;
    }

    .text-container p {
        font-size: .9rem !important;
    }
}