@import url('https://fonts.googleapis.com/css?family=Tajawal&display=swap'); * { font-family: 'Tajawal', sans-serif; padding: 0; margin: 0; box-sizing: border-box; } #root { width: 100vw; height: 40vh; display: flex; justify-content: flex-end; align-items: flex-end; } .notification { display: flex; align-items: center; background-color: rgba(255, 255, 255, 0.9); /* لون فاتح */ width: 300px; height: 80px; margin: 5px; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); /* تخفيف الظل */ border-radius: 10px; /* زوايا ناعمة */ overflow: hidden; transition: all 0.3s ease; /* حركة ناعمة */ } .notification:hover { transform: translateY(-5px); /* تأثير عند التمرير بالماوس */ } .notification .message { margin-left: 20px; color: white; /* نص أبيض */ font-size: 1.2rem; text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* إضافة ظل للنص */ } #type { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; border-radius: 50%; color: white; /* لون النص أبيض */ font-weight: bold; font-size: 1rem; text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* تأثير توهج خفيف */ } .success { background: linear-gradient(135deg, rgba(50, 200, 50, 0.1), rgba(50, 200, 50, 0.5)); border: 2px solid rgba(50, 200, 50, 0.7); } .error { background: linear-gradient(135deg, rgba(200, 150, 50, 0.1), rgba(200, 150, 50, 0.5)); border: 2px solid rgba(200, 150, 50, 0.7); } @keyframes unfold { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes fold { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(30px); } } .unfold { animation: unfold 0.5s ease-out; } .fold { animation: fold 0.5s ease-in; }