/* Start Global Style */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0px !important;
    list-style: none;
    font-family: "Roboto";
}

:root {

    --color-primary: #40826d;
    --sec: #CECAC1ff;
    --white: #FEFCFBff;

    --pra-color: rgb(98, 98, 98);
    --icon-bg-color: #4d592b12;
    --font-size: 14px;

    --box-shadow: 0 4px 8px 0 rgba(195, 194, 194, 0.2),
        0 6px 20px 0 rgba(195, 194, 194, 0.2);


    --container-width-lg: 80%;
    --container-width-md: 95%;
    --container-width-sm: 90%;

}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

select,
input,
textarea {
    outline: none;
}

/* Media Queries (Media Device) */

@media screen and (max-width: 1024px) {
    .container {
        width: var(--container-width-md);
    }
}


/* Media Queries (Small Device) */

@media screen and (max-width: 600px) {
    .container {
        width: var(--container-width-sm);
    }
}

/* End Global Style */


#form {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container_form {
    display: grid;
    grid-template-columns: 60% 30%;
    gap: 3rem;
    justify-content: center;
    align-items: stretch;
    padding: 3rem 0;
    box-shadow: var(--box-shadow);
}

.container_form .toggle_img {
    height: 540px;
}

.container_form .toggle_img img {
    height: 100%;
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
}

.form_box form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form_box form .form_title {
    display: flex;
    flex-direction: column;
    gap: .8rem;

    h3 {
        color: var(--prem);
    }

    p {
        color: var(--pra-color);
        font-size: var(--font-size);
        margin-bottom: 10px;
    }
}




.form_control {
    display: flex;
    flex-direction: column;

    label {
        color: var(--pra-color);
        /* font-size: var(--font-size); */
        margin-bottom: 2px;

        span {
            color: rgb(197, 3, 3);
        }
    }

    input {
        padding: .5rem 10px;
        border: 2px solid rgb(207, 207, 207);
        border-radius: 5px !important;
        -webkit-border-radius: 5px !important;
        -moz-border-radius: 5px !important;
        -ms-border-radius: 5px !important;
        -o-border-radius: 5px !important;
    }
}

/* Start password icon */

.password_icon {
    position: relative;
}

.password_wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.password_wrap input {
    flex: 1;
    padding-right: 40px;
}


.password_icon input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    top: 56%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--pra-color);
    font-size: .8rem;

    width: 1.4em;
    text-align: center;
}

/* End password icon */
.forgot_link {
    margin-top:5px;
    text-align: right !important;
}
.forgot_link a {
    color: var(--pra-color);
    font-size: 16.5px !important;
    text-decoration: underline !important;
    transition:all .5s;
}
.forgot_link a:hover {
    color:rgb(126, 0, 0);
}


.btn {
    padding: .8rem 0 !important;
    background-color: var(--color-primary) !important;
    color: white !important;
    border: none !important;
    cursor: pointer;
    border: 1.5px solid var(--color-primary) !important;
    border-radius: 5px !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
    font-size: 18px !important;
    font-weight: bold !important;
}

.btn_primary {
    background-color: transparent !important;
    border: 1.5px solid var(--color-primary) !important;
    color: var(--color-primary) !important;
    font-weight: bold !important;
    cursor: pointer;
}


.divrder {
    position: relative;
    padding: 15px 0px;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--pra-color);

}

.divrder::after {
    content: "";
    left: 0;
    width: 32%;
    height: 1px;
    position: absolute;
    background-color: #b6b6b6;
}

.divrder::before {
    content: "";
    right: 0;
    width: 32%;
    height: 1px;
    position: absolute;
    background-color: #b6b6b6;
}


/* Register */
.form_check {
    display: flex;
    flex-direction: column;

    label {
        display: flex;
        align-items: center;
        color: var(--pra-color);
        gap: 5px;

        p {
            margin: 0;
        }

        input {
            width: 15px;
            height: 15px;
        }

        a {
            color: var(--pra-color);
        }
    }
}

.register form .form_title>p {
    margin-bottom: 1rem;
}

.form_box.register {
    display: none;
}

/* error massage */
.error {
    display: block;
    color: rgb(182, 0, 0);
    /* font-size: 12px; */
    margin-top: 2px;
}



/* Media Queries (Media Device) */

@media screen and (max-width: 1024px) {

    .container_form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

}


/* Media Queries (Small Device) */

@media screen and (max-width: 600px) {
    .container_form {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 3rem;
        justify-content: center;
        align-items: stretch;
    }

    .toggle_img {
        display: none;
    }

    .form_check label {
        align-items: flex-start;

        input {
            width: 18px;
            height: 18px;
        }
    }
}