.alert { position: fixed; top: 20px; right: 20px; z-index: 1050; min-width: 300px; padding: 15px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; cursor: pointer; opacity: 1; transform: translateX(0); } .alert.fade-out { opacity: 0; transform: translateX(100%); } .alert-success { background: rgba(40, 167, 69, 0.95); border: 1px solid #28a745; color: white; } .alert-danger { background: rgba(220, 53, 69, 0.95); border: 1px solid #dc3545; color: white; }