/* includes/login.css - النسخة النهائية لصفحات الدخول والتسجيل */

/* أنماط الرسائل المنبثقة (التوست) */
#toast-container {
    position: fixed;
    top: 20px;    /* << تغيير: من bottom إلى top */
    right: 20px;   /* << تغيير: من left إلى right */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* لمحاذاة الرسائل لليمين داخل الحاوية */
}
.toast {
    padding: 15px 25px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(100%);
    animation: slideIn 0.5s forwards, fadeOut 0.5s 4.5s forwards;
}
.toast.success { background-color: #28a745; }
.toast.error { background-color: #dc3545; }

@keyframes slideIn { to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; transform: translateX(-30px); } }

/* أنماط أيقونة إظهار/إخفاء كلمة المرور */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 35px; /* مساحة للأيقونة على اليمين */
}
.password-toggle-icon {
    position: absolute;
    right: 10px; /* موقع الأيقونة */
    cursor: pointer;
    user-select: none;
}