/* ==============================
      AUTH PAGES DESIGN
   ============================== */


@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');


*{

    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Tajawal',sans-serif;

}



body{

    direction:rtl;
    background:#fff;
    min-height:100vh;

}



/* MAIN CONTAINER */

.auth-container{

    display:flex;

    flex-direction:row;

    direction:ltr;

    min-height:100vh;

}


.auth-form{

    order:2;

    direction:rtl;

}


.auth-image{

    order:1;

    direction:rtl;

    background-position:center;

   

    


}


/* ==============================
        LEFT IMAGE SECTION
   ============================== */


.auth-image{


    overflow:hidden;


    width:50%;
    background-image:

    linear-gradient(
        rgba(0,0,0,.15),
        rgba(0,0,0,.25)
    ),

    url("../images/auth-bg.jpg");


    background-size:cover;

    background-position:center;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:white;

    position:relative;


}



.auth-image .brand{


    position:absolute;

    top:55px;

    text-align:center;


}



.brand img{


    width:90px;


}



.brand h2{


    margin-top:15px;

    font-size:28px;

    color:#16753b;

    font-weight:800;


}



.brand p{


    color:#245d3c;

    font-size:18px;

}



.auth-image-content{

    position:absolute;

    top:260px;

    left:0;

    right:0;

    margin:auto;

    width:80%;

    text-align:center;

    z-index:2;

}



.auth-image-content h1{

    color:#0b1d3a;

    font-size:45px;

    line-height:1.5;

    font-weight:800;

    text-shadow:
    0 2px 8px rgba(255,255,255,.8);

}



.auth-image-content p{

    color:#222;

    font-size:20px;

    width:100%;

    line-height:2;

    margin-top:15px;

    text-shadow:
    0 1px 6px rgba(255,255,255,.8);

}


.auth-image .brand{

    position:absolute;

    top:50px;

    left:0;

    right:0;

    margin:auto;

    text-align:center;

    z-index:2;

}


.brand img{

    width:90px;

}


.brand h2{

    margin-top:15px;

    font-size:28px;

    color:#08783d;

    font-weight:800;

}


.brand p{

    color:#08783d;

    font-size:18px;

}


/* SECURITY BOX */


.security-box{

    position:absolute;

    bottom:40px;

    left:40px;

    right:auto;

    width:320px;

    background:rgba(0,0,0,.55);

    padding:18px 25px;

    border-radius:15px;

    color:white;

    display:flex;

    gap:15px;

    align-items:center;

    z-index:3;

    text-align:right;

}


.security-box h3{

    font-size:20px;

    margin-bottom:5px;

}


.security-box p{

    font-size:14px;

    line-height:1.8;

}




/* ==============================
        FORM SECTION
   ============================== */


.auth-form{


    width:50%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    padding:80px 120px;


}



.logo-top{


    text-align:right;

    margin-bottom:60px;


}



.logo-top img{


    width:70px;

}



.logo-top h3{


    color:#16753b;

    font-size:25px;


}





.auth-form h1{


    font-size:45px;

    color:#172033;

    margin-bottom:15px;


}



.subtitle{


    color:#777;

    font-size:18px;

    margin-bottom:45px;


}



/* INPUTS */


.input-group{


    margin-bottom:25px;


}



.input-group label{


    display:block;

    margin-bottom:10px;

    font-weight:600;

}



.input-box{


    height:65px;

    border:1px solid #ddd;

    border-radius:12px;

    display:flex;

    align-items:center;

    padding:0 20px;

}



.input-box input{


    width:100%;

    border:0;

    outline:0;

    font-size:18px;

}



.input-box i{


    color:#777;

    font-size:22px;


}





/* FORGOT */


.forgot{


    color:#16753b;

    text-decoration:none;

    display:block;

    margin-bottom:30px;

    font-weight:600;

}



/* BUTTON */


.main-btn{


    width:100%;

    height:65px;

    background:#168342;

    border:none;

    color:white;

    border-radius:12px;

    font-size:20px;

    cursor:pointer;


}



.main-btn:hover{

    background:#126b35;

}





.divider{


    display:flex;

    align-items:center;

    gap:20px;

    margin:35px 0;


}



.divider span{

    flex:1;

    height:1px;

    background:#ddd;

}



.divider p{

    color:#777;

}





.google-btn{


    height:60px;

    border:1px solid #ddd;

    border-radius:12px;

    background:white;

    font-size:18px;

    cursor:pointer;


}




.bottom-link{


    text-align:center;

    margin-top:35px;

    color:#777;


}



.bottom-link a{


    color:#168342;

    font-weight:bold;

    text-decoration:none;


}





/* FOOTER */


.auth-footer{


    position:static;

    width:100%;

    height:60px;

    background:#075b3a;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:0 50px;

}



/* TABLET */


@media(max-width:1024px){


.auth-image{

width:38%;

}


.auth-form{

width:62%;

padding:50px 40px;

}


.auth-form h1{

font-size:34px;

}


.auth-image-content{

top:120px;

}


.auth-image-content h1{

font-size:30px;

}


.auth-image-content p{

font-size:15px;

}


.security-box{

width:240px;

padding:12px 18px;

}


.security-box p{

font-size:12px;

}


}


/* MOBILE */


@media(max-width:900px){


.auth-image{

display:none;

}


.auth-form{

width:100%;

min-height:100vh;

padding:40px 30px;

}


.auth-form h1{

font-size:32px;

}


.auth-footer{

display:none;

}


.auth-box{

margin:40px auto;

padding:35px 25px;

}


.auth-box h2{

font-size:26px;

margin-bottom:25px;

}


}


/* SMALL PHONES */


@media(max-width:420px){


.auth-form{

padding:30px 20px;

}


.auth-form h1{

font-size:26px;

}


.subtitle{

font-size:14px;

margin-bottom:30px;

}


.logo-top{

margin-bottom:30px;

}


.logo-top img{

width:55px;

}


.input-box{

height:50px;

}


.main-btn,
.google-btn{

height:48px;

font-size:15px;

}


.auth-box{

padding:25px 18px;

}


.auth-box input,
.auth-box button{

height:52px;

}


}



/* REGISTER PAGE */

.auth-box{

    width:500px;

    max-width:90%;

    margin:80px auto;

    background:white;

    padding:50px;

    border-radius:20px;

    box-shadow:0 10px 40px rgba(0,0,0,.08);

}



.auth-box h2{

    text-align:center;

    color:#16753b;

    font-size:32px;

    margin-bottom:40px;

}



.auth-box input{


    width:100%;

    height:60px;

    border:1px solid #ddd;

    border-radius:12px;

    margin-bottom:20px;

    padding:0 20px;

    font-size:17px;

    outline:none;

}



.auth-box input:focus{

    border-color:#168342;

}




.auth-box button{


    width:100%;

    height:60px;

    background:#168342;

    color:white;

    border:0;

    border-radius:12px;

    font-size:20px;

    cursor:pointer;


}



.auth-box button:hover{

    background:#126b35;

}



.auth-box a{


    display:block;

    text-align:center;

    margin-top:25px;

    color:#168342;

    text-decoration:none;

    font-weight:bold;


}



#message,
#loginMessage{

    text-align:center;

    margin-top:15px;

    color:#168342;

}


/* ==========================
   FIX FULL SCREEN AUTH PAGE
========================== */


html,
body{

    width:100%;
    min-height:100%;
    overflow-x:hidden;

}



.auth-container{

    min-height:100vh;

}



.auth-image{

    min-height:100vh;

}



.auth-form{

    min-height:100vh;

    padding:35px 90px;

    overflow-y:auto;

    justify-content:center;

}




.logo-top{

    margin-bottom:25px;

}



.logo-top img{

    width:55px;

}


.logo-top h3{

    font-size:20px;

}



.auth-form h1{

    font-size:36px;

    margin-bottom:8px;

}



.subtitle{

    font-size:15px;

    margin-bottom:25px;

}




.input-group{

    margin-bottom:12px;

}



.input-group label{

    font-size:14px;

    margin-bottom:6px;

}



.input-box{

    height:48px;

    border-radius:10px;

}



.input-box input{

    font-size:15px;

}





.main-btn{

    height:52px;

    font-size:17px;

}



.divider{

    margin:18px 0;

}



.google-btn{

    height:50px;

    font-size:15px;

}



.bottom-link{

    margin-top:18px;

}



.auth-image-content{

    top:200px;

}



.auth-image-content h1{

    font-size:38px;

}



.auth-image-content p{

    font-size:17px;

}




.security-box{

    bottom:30px;

    padding:15px 20px;

}




.auth-footer{

    height:45px;

    font-size:13px;

}