.notification-container { position: fixed; top: 20px; right: 20px; z-index: 1000; max-width: 400px; width: 100%; } .notification { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%); border-radius: 12px; padding: 20px; margin-bottom: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transform: translateX(450px); opacity: 0; transition: all 0.4s cubic-bezier(0.68, 0.55, 0.265, 1.55); border-left: 5px solid #8b5cf6; position: relative; overflow: hidden; border: 1px solid rgba(139, 92, 246, 0.2); } .notification.show { transform: translateX(0); opacity: 1; } .notification.hide { transform: translateX(450px); opacity: 0; } .notification-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .notification-title { font-weight: 600; font-size: 16px; color: #e9d5ff; display: flex; align-items: center; gap: 8px; } .notification-close { background: none; border: none; font-size: 20px; cursor: pointer; color: #a78bfa; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all 0.2s ease; } .notification-close:hover { background: rgba(139, 92, 246, 0.2); color: #e9d5ff; } .notification-message { color: #c4b5fd; line-height: 1.4; font-size: 14px; } .notification-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: rgba(139, 92, 246, 0.4); transition: width linear; } .notification.success { border-left-color: #10b981; } .notification.success .notification-progress { background: rgba(16, 185, 129, 0.4); } .notification.warning { border-left-color: #f59e0b; } .notification.warning .notification-progress { background: rgba(245, 158, 11, 0.4); } .notification.error { border-left-color: #ef4444; } .notification.error .notification-progress { background: rgba(239, 68, 68, 0.4); } .notification.info { border-left-color: #06b6d4; } .notification.info .notification-progress { background: rgba(6, 182, 212, 0.4); } .icon { width: 18px; height: 18px; } @media (max-width: 768px) { .notification-container { top: 10px; right: 10px; left: 10px; max-width: none; } .notification { transform: translateY(-100px); } .notification.show { transform: translateY(0); } .notification.hide { transform: translateY(-100px); } }