/* ==========================================================
   Rayhan Academy - Authentication UI
========================================================== */

:root{

    --rayhan-primary:#0d7a43;
    --rayhan-primary-hover:#0b6939;

    --rayhan-facebook:#1877F2;
    --rayhan-google:#202124;

    --rayhan-text:#1d2939;
    --rayhan-muted:#667085;

    --rayhan-border:#E4E7EC;

    --rayhan-bg:#F8FAFC;

    --rayhan-radius:18px;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    background:var(--rayhan-bg);

    font-family:"Cairo",sans-serif;

}

header,
footer,
#masthead,
.site-header,
.site-footer,
.elementor-location-header,
.elementor-location-footer{

    display:none!important;

}

/* ==========================================================
   Layout
========================================================== */

.rayhan-auth-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

}

.rayhan-auth-card{

    width:100%;

    max-width:440px;

    background:#fff;

    border-radius:24px;

    padding:38px;

    box-shadow:
        0 10px 35px rgba(16,24,40,.08);

}

/* ==========================================================
   Logo
========================================================== */

.rayhan-auth-logo{

    width:72px;

    display:block;

    margin:0 auto 18px;

}

/* ==========================================================
   Title
========================================================== */

.rayhan-auth-title{

    text-align:center;

    font-size:38px;

    font-weight:700;

    color:var(--rayhan-text);

    margin-bottom:12px;

}

.rayhan-auth-subtitle{

    text-align:center;

    font-size:18px;

    line-height:1.8;

    color:var(--rayhan-muted);

    margin-bottom:28px;

}
/* ==========================================================
   Social Login
========================================================== */

.rayhan-social-login{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:26px;

}

.rayhan-social-login a{

    height:54px;

    border-radius:14px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    text-decoration:none;

    font-size:16px;

    font-weight:700;

    transition:.25s;

}

.rayhan-social-login a:hover{

    transform:translateY(-2px);

}

.rayhan-google-btn{

    background:#ffffff;

    color:#202124;

    border:1px solid #DADCE0;

}

.rayhan-facebook-btn{

    background:#1877F2;

    color:#fff;

}

.rayhan-social-login svg{

    width:22px;

    height:22px;

}

/* ==========================================================
   Divider
========================================================== */

.rayhan-divider{

    display:flex;

    align-items:center;

    gap:14px;

    margin:26px 0;

    color:#98A2B3;

    font-size:15px;

    font-weight:600;

}

.rayhan-divider::before,
.rayhan-divider::after{

    content:"";

    flex:1;

    height:1px;

    background:#EAECF0;

}
/* ==========================================================
   Form
========================================================== */

.rayhan-auth-card form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

/* إخفاء الـ labels في صفحة تسجيل الدخول فقط */
#loginform label{

    display:none;

}

.rayhan-auth-card #loginform input{

    width:100%;

    height:54px;

    border:1px solid #D0D5DD;

    border-radius:14px;

    padding:0 18px;

    font-family:"Cairo",sans-serif;

    font-size:15px;

    transition:.25s;

    background:#fff;

}

.rayhan-auth-card #loginform input:focus{

    outline:none;

    border-color:#16A34A;

    box-shadow:0 0 0 4px rgba(22,163,74,.12);

}
/* ==========================================================
   Submit
========================================================== */

.rayhan-auth-card #loginform input[type=submit]{

    background:#16A34A;

    color:#fff;

    border:none;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

}

.rayhan-auth-card #loginform input[type=submit]:hover{

    background:#15803D;

}
/* ==========================================================
   Footer Links
========================================================== */

.rayhan-forgot-password{

    text-align:center;

    margin:18px 0;

}

.rayhan-forgot-password a{

    color:#16A34A;

    text-decoration:none;

    font-weight:700;

}

.rayhan-register-box{

    text-align:center;

    margin-top:26px;

}

.rayhan-register-box p{

    color:#667085;

    margin-bottom:10px;

}

.rayhan-register-btn{

    display:inline-block;

    color:#16A34A;

    font-weight:700;

    text-decoration:none;

}

.rayhan-register-btn:hover{

    text-decoration:underline;

}

/* ==========================================================
   Responsive
========================================================== */

@media(max-width:768px){

    .rayhan-auth-card{

        padding:28px 22px;

        border-radius:18px;

    }

    .rayhan-auth-title{

        font-size:30px;

    }

    .rayhan-auth-subtitle{

        font-size:16px;

    }

}