/* إعدادات أساسية */
body {
    font-family: "Cairo", sans-serif;
    background-color: #f8fafc;
}

:root {
    --font-size-base: 12px;
}

/* إعداد الحاوية الرئيسية */
.auth-container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: right;
    position: relative;
    top: 50px; /* مسافة من الأعلى */
}

.auth-container .logo-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* عنوان نموذج المصادقة */
.auth-title {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #333;
}

/* إعداد الحقول مع الأيقونات */
.input-with-icon {
    position: relative;
    margin-bottom: 1rem; /* تباعد بين الحقول */
}

.input-with-icon .icon {
    position: absolute;
    right: 15px; /* Adjusted for RTL, if LTR use left: 15px */
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
}
.input-with-icon small {
    display: block;
    margin-top: 5px; /* إضافة تباعد بين الحقل والنص */
    font-size: 0.7rem; /* تقليل حجم الخط للعبارة */
    color: #666; /* لون النص */
    text-align: center; /* محاذاة النص لليمين */
}
.auth-input {
    width: 100%;
    padding: 10px 40px 10px 10px; /* Adjust padding: left for text, right for icon */
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    direction: rtl; /* Ensure right-to-left text direction */
}



/* زر المصادقة */
.auth-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #FF6D57;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem; /* تباعد فوق الزر */
}
.auth-button-logout {
    width: 100%;
    padding: 0.75rem;
    background-color: #52b4f1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem; /* تباعد فوق الزر */
}

.auth-button:hover {
    background-color: #E65C46;
}

/* روابط النسخ الاحتياطي */
.links {
    text-align: center;
    margin-top: 1rem;
}

.auth-link {
    color: #FF6D57;
    text-decoration: none;
}
