/* تعيين إعدادات أساسية للصفحة */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(to right, #00264d, #0052cc);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    direction: rtl; /* اتجاه الكتابة من اليمين إلى اليسار */
}

.login-container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
}

.login-container h1 {
    margin-bottom: 20px;
    color: #e60000;
    font-size: 26px;
    font-weight: bold;
}

.login-container label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
    text-align: center; /* توسيط النص */
}

.login-container input {
    width: calc(100% - 20px);
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: right; /* توجيه النص لليمين */
}

.login-container button {
    width: 100%;
    padding: 12px;
    background-color: #e60000;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #b30000;
}

.login-container p {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

.login-container a {
    color: #e60000;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    display: block; /* جعل الرابط يظهر كزر */
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 4px;
    background-color: #ffcccc;
    transition: background-color 0.3s ease;
}

.login-container a:hover {
    background-color: #ff9999;
    text-decoration: underline;
}

.error-message {
    color: #e60000;
    margin-top: 20px;
    font-size: 16px;
    background-color: #ffdddd;
    border-right: 6px solid #e60000; /* توجيه الشريط الأحمر لليمين */
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: right; /* توجيه النص لليمين */
}

/* نمط رمز العين */
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-container input {
    flex: 1;
    text-align: right; /* توجيه النص لليمين */
}

.password-container .fa {
    position: absolute;
    left: 10px; /* تموضع رمز العين إلى اليسار */
    cursor: pointer;
    color: #aaa;
    font-size: 18px; /* حجم رمز العين */
    padding: 10px; /* جعل رمز العين يتناسب مع الحاوية */
}
