@import url(./font.css);
:root {
    --color-one-signup: linear-gradient(#cea450 2%, #b8841c 98%);
    --color-two-google: #be2020;
    --color-two-signup: linear-gradient(#a87309 2%, #865e0c 98%);
    ;
    --color-one-signin: #4b9ce2;
    --color-two-signin: #0078e2;
    --color-white: #fff;
    --color-black: #000;
}


/*-------------------- global style ----------------*/

*,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'taj';
    font-size: 16px;
}

main {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
}

.col {
    width: 50%;
    position: relative;
}

.right-side {
    height: 100vh;
}

.left-side {
    position: relative;
    overflow: hidden;
}

.back {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 100
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
}

.background img {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

.text {
    text-align: justify;
    color: #fff;
    width: 100%;
    font-size: 1.5em;
    display: flex;
    justify-content: space-around;
    margin-top: 44px;
    direction: rtl;
}

.text h2 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #ffffff;
}

.text img {
    width: 15%;
    position: absolute;
    top: 10px;
    left: 40px;
    filter: grayscale(1);
    -index: -1;
    opacity: .8;
}

.text h4 {
    font-size: 1.9em;
    color: #0c0c0c;
    text-shadow: #ffffff;
    text-decoration-color: #0c0c0c;
}


.text ul li {
    margin-bottom: 10px;
    font-size: 16px;
    list-style-type: disclosure-closed;
}

.text .links li {
    color: #ffffff;
}

.text .links li a {
    font-weight: 700;
    color: #ffffff;
}

section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    width: 300px;
    eight: 600px;
    box-shadow: 0 0 70px 5px rgba(0, 0, 0, 0.7);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
}

section .box {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    position: relative;
    background: #0db131 !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #cbcbcb;
}

section .box .body-box {
    width: 100%;
    height: 510px;
    position: relative;
    overflow: hidden;
}

section .box .body-box .form {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding: 5px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 0 25px 1px #000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.button {
    position: relative;
    overflow: hidden;
    transition: .6s;
    font-size: 1.5rem;
}

button:hover,
a.button {
    box-shadow: inset 0 0 15px 1px rgba(0, 0, 0, 0.3);
    width: auto;
}

.button:hover::after {
    position: absolute;
    content: '';
    top: -30px;
    left: 130%;
    width: 6%;
    height: 120%;
    background: rgba(255, 255, 255, 0.174);
    border: 7px solid rgba(255, 255, 255, 0.274);
    z-index: 100;
    animation: .3s hov ease-in-out;
    -webkit-animation: .3s hov ease-in-out;
    transform: skew(40deg);
    -webkit-transform: skew(40deg);
    -moz-transform: skew(40deg);
    -ms-transform: skew(40deg);
    -o-transform: skew(40deg);
}

a {
    text-decoration: none;
    text-align: right;
    color: #068cbf;
}

a:hover {
    text-decoration: underline;
}

button,
button:focus,
input {
    border: none;
    outline: none;
}

button {
    padding: 8px;
    font-size: 1rem;
    cursor: pointer;
}

@keyframes hov {
    0% {
        left: 100%;
        opacity: 1;
    }
    100% {
        left: 0;
        opacity: 0;
    }
}


/*--------------------------------------------------------*/

.reset-box {
    padding: 20px 10px;
    background: #d79f30;
    text-align: center;
    transition: .7s;
    -webkit-transition: .7s;
    -moz-transition: .7s;
    -ms-transition: .7s;
    -o-transition: .7s;
}

.body-reset {
    margin-top: 20px;
}

.view-form {
    opacity: 0;
    visibility: hidden;
}


/*---------------- header ----------------*/

.header-form {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}




.header-form .icon-header {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #fff;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.479);
}


.header-form .icon-header img {
    width: 100%;
}

.header-form h1 {
    font-family: myFont;
    text-shadow: 1px 3px 11px #0000005b;
    font-size: 3.5rem;
    /* letter-spacing: 10px; */
    margin: 10px;
}


.signin .header-form h1 {
    color: var(--color-one-signup);
    color: #173deb;
}

.signup .header-form h1 {
    color: #173deb;
}

.header-form h5 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-shadow: 2px 2px 5px #00000050;
}

.signin .header-form h5 {
    color: #173deb;
}

.signup .header-form h5 {
    color: var(--color-two-signin);
}

.header-signin {
    padding-bottom: 20px;
}

.mpo {
    color: #07457a;
}


/* -------------------------------------- */


/*------------------ body form -----------*/

.body-form {
    bottom: 20px;
}

.box .body-box .signin {
    background: #dceee0 !important;
}

.box .body-box .signup {
    background: #8ef1a4 !important;
}

.group-input {
    width: 100%;
    display: flex;
    margin-bottom: 20px;
}

.signin .body-form .group-input .icon,
.reset-box .group-input .icon {
    background: #0db131;
}

.signup .body-form .group-input .icon {
    background: #0db131;
}

.group-input .icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 400;
}

.group-input .icon i {
    align-self: center;
}

.group-input .input input {
    width: 100%;
    height: 100%;
    padding: 2px 10px;
    border: none;
    font-size: 15px;
    color: #000;
}

.group-input .input {
    margin-right: 5px;
    width: calc(100% - 35px);
    ;
}

.group-input .input button {
    width: calc(100% - 15px);
    margin-right: 25px;
    padding: 10px;
}

.group-input .inputqr button {
    width: calc(90%);
    margin-right: 20px;
    padding: 10px;
}

.qr:hover {
    box-shadow: none;
}

.group-input .input .button-signin {
    background: #0db131;
    color: var(--color-white);
}

.group-input .input .button-signup,
.button-reset {
    background: #0db131;
    color: var(--color-white);
}

.group-input .input .button-signin-google {
    background: #0db131;
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 8px;
    text-decoration: none;
}


/*--------------------------------------------------------*/


/*---------------------- footer style --------------------*/

section .footer-box {
    width: 100%;
    height: 110px;
    position: relative;
    overflow: hidden;
}

section .footer-box .footer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 5px;
    color: var(--color-white);
    box-shadow: 0 0 25px 1px #000;
}

.footer-signin {
    background: var(--color-two-signup);
}

.footer-signup {
    background: var(--color-two-signin);
}

.footer h2 {
    text-align: center;
    margin: 10px 0;
    font-weight: 500;
    font-size: 1.1rem;
}

.footer .button {
    text-align: center;
}

.footer-signin button {
    background: var(--color-one-signup);
    color: var(--color-black);
}

.footer-signup button {
    background: var(--color-one-signin);
    color: var(--color-black);
}

.footer button {
    font-weight: 600;
    margin: auto;
    width: 100%;
}


/*---------------------------------------*/


/*----------- Animation -----------------*/

.slide-right {
    z-index: 10;
    animation: .7s slide-right ease-in-out;
}

.slide-left {
    z-index: 1000;
    animation: .7s slide-left ease-in-out;
}

.slide-up {
    z-index: 10;
    animation: .7s slide-up ease-in-out;
}

.slide-down {
    z-index: 1000;
    animation: .7s slide-down ease-in-out;
}

@keyframes slide-right {
    0% {
        z-index: 1000;
        right: 0;
        opacity: 1;
    }
    50% {
        right: -52%;
        opacity: 1;
    }
    100% {
        z-index: 10;
        right: 0;
        opacity: 0;
    }
}

@keyframes slide-left {
    0% {
        z-index: 10;
        right: 0;
    }
    50% {
        right: 52%;
    }
    100% {
        z-index: 1000;
        right: 0;
    }
}

@keyframes slide-up {
    0% {
        z-index: 1000;
        left: 0;
        opacity: 1;
    }
    50% {
        left: -52%;
        opacity: 1;
    }
    100% {
        z-index: 10;
        left: 0;
        opacity: 0;
    }
}

@keyframes slide-down {
    0% {
        z-index: 10;
        left: 0;
    }
    50% {
        left: 52%;
    }
    100% {
        z-index: 1000;
        left: 0;
    }
}

@media screen and (max-width:1600px) {
    *,
    body {
        font-size: 13px;
    }
}

@media screen and (max-width:1300px) {
    *,
    body {
        font-size: 11px;
    }
}

@media screen and (max-width:1000px) {
    .left-side {
        width: 0;
    }
    .right-side {
        width: 100%;
    }
    section {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
    }
    section .box .body-box {
        height: 500px
    }
}

.login-container {
    max-width: 450px;      /* Perfect size on desktop */
    width: 90%;            /* Shrinks on mobile */
    margin: 40px auto;     /* Center the form */
}

.form.signin {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Make input groups stack nicely */
.group-input {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Mobile improvements */
@media (max-width: 576px) {
    .form.signin {
        padding: 18px;
    }
    
    .header-form h1 {
        font-size: 1.8rem;
    }

    .header-form h5 {
        font-size: 1rem;
    }

    .button {
        width: 100%;
        font-size: 1rem;
    }

    .inputqr button img {
        width: 55% !important;
    }
}
