/* ==========================
   Teacher Login Page
========================== */

body {
    margin: 0;
    padding: 0;
    background: #f8f5ef;
    font-family: "Cairo", sans-serif;
}

.rayhan-teacher-login-page {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background:
        linear-gradient(
            rgba(248,245,239,0.90),
            rgba(248,245,239,0.90)
        ),
        url("../images/GettyImages-56077869.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* الكارت الأبيض */
.rayhan-login-card {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    text-align: center;
    position: relative;
    z-index: 2;
}

/* اللوجو */
.rayhan-login-logo {
    width: 140px;
    margin: 0 auto 20px;
    display: block;
}

/* العنوان */
.rayhan-login-title {
    font-size: 46px;
    font-weight: 700;
    color: #0f5f34;
    margin-bottom: 10px;
}

/* النص أسفل العنوان */
.rayhan-login-subtitle {
    color: #777;
    font-size: 18px;
    margin-bottom: 35px;
}

/* الحقول */
.rayhan-login-card input[type="text"],
.rayhan-login-card input[type="email"],
.rayhan-login-card input[type="password"] {
    width: 100%;
    height: 60px;
    border: 1px solid #dddddd;
    border-radius: 14px;
    padding: 0 20px;
    font-size: 18px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

/* زر الدخول */
.rayhan-login-card button,
.rayhan-login-card input[type="submit"] {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 14px;
    background: #137333;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.rayhan-login-card button:hover,
.rayhan-login-card input[type="submit"]:hover {
    background: #0d5726;
}

/* الجوال */
@media (max-width: 768px) {
    .rayhan-login-card {
        padding: 35px 25px;
    }

    .rayhan-login-title {
        font-size: 34px;
    }

    .rayhan-login-subtitle {
        font-size: 16px;
    }
}
header,
.site-header,
#masthead,
.elementor-location-header {
    display: none !important;
}

footer,
.site-footer,
.elementor-location-footer {
    display: none !important;
}
@media (max-width: 768px) {
    .rayhan-teacher-login-page {
        background-size: cover;
        background-position: center top;
        padding: 30px 15px;
    }

    .rayhan-login-card {
        max-width: 100%;
        padding: 30px 20px;
        border-radius: 25px;
    }
}
.rayhan-forgot-password{
    text-align:left;
    margin:15px 0;
}

.rayhan-forgot-password a{
    color:#0d6b3c;
    text-decoration:none;
    font-weight:600;
}

.rayhan-register-box{
    margin-top:30px;
    padding:25px;
    background:#f5f8f4;
    border:1px solid #e7ece6;
    border-radius:20px;
    text-align:center;
}

.rayhan-register-box p{
    margin-bottom:15px;
    color:#555;
}

.rayhan-register-btn{
    display:inline-block;
    padding:14px 28px;
    border:2px solid #0d6b3c;
    border-radius:12px;
    color:#0d6b3c;
    text-decoration:none;
    font-weight:700;
    transition:0.3s;
}

.rayhan-register-btn:hover{
    background:#0d6b3c;
    color:#fff;
}
.rayhan-register-box {
    margin-top: 25px;
    text-align: center;
    padding: 25px;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
}

.rayhan-register-box p {
    margin-bottom: 15px;
    color: #666;
    font-size: 16px;
}

.rayhan-register-btn {
    display: inline-block;
    padding: 14px 30px;
    background: linear-gradient(135deg, #1f6f43, #2e8b57);
    color: #fff !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s ease;
}

.rayhan-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31,111,67,.3);
}
.rayhan-welcome-box{
    background:#fff;
    padding:40px;
    border-radius:20px;
    text-align:center;
    max-width:800px;
    margin:40px auto;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.rayhan-welcome-box h2{
    color:#1f6f43;
    margin-bottom:25px;
}

.rayhan-welcome-box p{
    font-size:18px;
    line-height:2;
    color:#555;
    margin-bottom:15px;
}

.rayhan-main-btn{
    display:inline-block;
    margin-top:20px;
    padding:14px 35px;
    background:#1f6f43;
    color:#fff !important;
    text-decoration:none;
    border-radius:12px;
    font-weight:600;
}