@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;700&display=swap');

body, .auth-form h2, .auth-form p, .auth-form label, .auth-form input, .auth-form .btn, .auth-form .links, .auth-form .error, .auth-form .forgot, .auth-form .links a, .auth-form .links span {
    font-family: 'Alexandria', 'Cairo', sans-serif;
    letter-spacing: .0178571429em !important;
}

body {
    background: #fafafd;
    margin: 0;
    padding: 0;
    direction: rtl;
}
.auth-container {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    background: #e1e6f1;
}
.auth-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px #0002;
    display: flex;
    flex-direction: row-reverse;
    overflow: hidden;
    max-width: 1100px;
    width: 100%;
    min-height: 600px;
    height: 600px;
}
.auth-image {
    background: #fafafd;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 500px;
    border-left: 1px solid #f0f0f0;
    height: 100%;
}
.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.auth-form {
    padding: 56px 48px 40px 45px;
    width: 700px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.auth-form img {
    display: block;
}
.auth-form h2 {
    margin-bottom: 6px;
    color: #2f2b3dc7;
    font-size: 1.5rem!important;
    font-weight: 400;
    line-height: 2rem;
    text-align: right;
}
.auth-form p {
    color: #6c757d;
    margin-bottom: 18px;
    font-size: 0.95rem;
    text-align: right;
}
.auth-form label {
    margin-top: 12px;
    margin-bottom: 8px;
    color: #2f2b3dc7;
    font-size: 0.95rem;
    font-weight: 500;
}
.auth-form input {
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 0.98rem;
    width: 100%;
    background: #fafafd;
    transition: border 0.2s;
    box-sizing: border-box;
}
.auth-form input:focus {
    border: 1.5px solid #104869;
    outline: none;
    background: #fff;
}
.auth-form .error {
    color: #e53935;
    font-size: 14px;
    margin-bottom: 8px;
    margin-top: 2px;
    text-align: right;
}
.auth-form .btn {
    background: #104869;
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 1rem;
    margin-top: 14px;
    width: 100%;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 8px #2196f322;
}
.auth-form .btn:hover {
    background: #f08a1e;
}
.auth-form .links {
    margin-top: 18px;
    text-align: center;
    width: 100%;
    font-size: 0.95rem;
}
.auth-form .links a {
    color: #104869;
    text-decoration: none;
    margin: 0 8px;
    font-weight: 600;
}
.auth-form .links span {
    color: #6c757d;
}
.auth-form .forgot {
    width: 100%;
    text-align: right;
    margin-bottom: 8px;
}
.auth-form .forgot a {
    color: #104869;
    font-size: 0.92rem;
    text-decoration: none;
}
@media (max-width: 900px) {
    .auth-box {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0 8px;
    }
    .auth-image {
        display: none !important;
    }
    .auth-form {
        width: 100%;
        padding: 32px 20px 24px 20px;
    }
    .auth-form .btn {
        width: 100%;
    }
    .auth-form input {
        padding: 10px 12px;
    }
}
.auth-form .btn {
    width: 100%;
} 