/* نظام التنبيهات المنبثقة الحديثة (Toast Notifications) */
#toast-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(19, 42, 74, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #fff;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    min-width: 280px;
    max-width: 400px;
    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    direction: rtl;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-right: 4px solid #d4af37; /* لون ذهبي للنجاح */
}

.toast.error {
    border-right: 4px solid #f44336; /* لون أحمر للفشل */
}

.toast-icon {
    font-size: 1.2rem;
}

.toast.success .toast-icon {
    color: #d4af37;
}

.toast.error .toast-icon {
    color: #f44336;
}

.toast-message {
    flex-grow: 1;
}

.toast-close {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
}

.toast-close:hover {
    opacity: 1;
}
